Fix Makefile on OSX (uname -o not supported)

This commit is contained in:
Matt Pharr
2012-01-09 07:40:47 -08:00
parent c0161aa17f
commit 2be1251c70

View File

@@ -3,7 +3,11 @@
#
ARCH_OS = $(shell uname)
ARCH_OS2 = $(shell uname -o)
ifeq ($(ARCH_OS), Darwin)
ARCH_OS2 = "OSX"
else
ARCH_OS2 = $(shell uname -o)
endif
ARCH_TYPE = $(shell arch)
ifeq ($(shell llvm-config --version), 3.1svn)