added LLVM_3_6 var

This commit is contained in:
Anton Mitrokhin
2014-07-30 11:50:15 +04:00
parent e044db016d
commit 725be222ac
15 changed files with 54 additions and 40 deletions

View File

@@ -117,6 +117,10 @@ ifeq ($(LLVM_VERSION),LLVM_3_5)
ISPC_LIBS += -lcurses -lz
endif
ifeq ($(LLVM_VERSION),LLVM_3_6)
ISPC_LIBS += -lcurses -lz
endif
ifeq ($(ARCH_OS),Linux)
ISPC_LIBS += -ldl
endif
@@ -153,6 +157,9 @@ CXXFLAGS=$(OPT) $(LLVM_CXXFLAGS) -I. -Iobjs/ -I$(CLANG_INCLUDE) \
ifeq ($(LLVM_VERSION),LLVM_3_5)
CXXFLAGS+=-std=c++11 -Wno-c99-extensions -Wno-deprecated-register
endif
ifeq ($(LLVM_VERSION),LLVM_3_6)
CXXFLAGS+=-std=c++11 -Wno-c99-extensions -Wno-deprecated-register
endif
ifneq ($(ARM_ENABLED), 0)
CXXFLAGS+=-DISPC_ARM_ENABLED
endif