summaryrefslogtreecommitdiff
path: root/configs/linux-llvm
diff options
context:
space:
mode:
Diffstat (limited to 'configs/linux-llvm')
-rw-r--r--configs/linux-llvm4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/linux-llvm b/configs/linux-llvm
index 6aa434032d..22de0662ee 100644
--- a/configs/linux-llvm
+++ b/configs/linux-llvm
@@ -15,7 +15,7 @@ ARCH_FLAGS = -mmmx -msse -msse2 -mstackrealign
DEFINES += -DNDEBUG -DGALLIUM_LLVMPIPE -DHAVE_UDIS86
# override -std=c99
-CFLAGS += -std=gnu99 -D__STDC_CONSTANT_MACROS
+CFLAGS += -std=gnu99
LLVM_VERSION := $(shell llvm-config --version)
@@ -30,7 +30,7 @@ else
endif
ifeq ($(MESA_LLVM),1)
-# LLVM_CFLAGS=`llvm-config --cflags`
+ LLVM_CFLAGS=`llvm-config --cppflags`
LLVM_CXXFLAGS=`llvm-config --cxxflags backend bitreader engine ipo interpreter instrumentation` -Wno-long-long
LLVM_LDFLAGS = $(shell llvm-config --ldflags backend bitreader engine ipo interpreter instrumentation)
LLVM_LIBS = $(shell llvm-config --libs backend bitwriter bitreader engine ipo interpreter instrumentation)