summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-12-03 10:59:52 -0700
committerBrian Paul <[email protected]>2010-12-03 13:52:59 -0700
commitb87369e863c4c9650ef3a04a111e9ca79bca9e08 (patch)
tree9b6f212901486799ba56743659c0a49b99c29731 /configs
parent9f7f093090c45278162a03f10e147fac688eee6f (diff)
mesa: consolidate some compiler -D flags
-D__STDC_CONSTANT_MACROS and -D__STDC_LIMIT_MACROS are only needed for LLVM build.
Diffstat (limited to 'configs')
-rw-r--r--configs/linux-llvm5
1 files changed, 3 insertions, 2 deletions
diff --git a/configs/linux-llvm b/configs/linux-llvm
index 6aa434032dc..9b06be933d4 100644
--- a/configs/linux-llvm
+++ b/configs/linux-llvm
@@ -12,10 +12,11 @@ GALLIUM_DRIVERS_DIRS += llvmpipe
OPT_FLAGS = -O3 -ansi -pedantic
ARCH_FLAGS = -mmmx -msse -msse2 -mstackrealign
-DEFINES += -DNDEBUG -DGALLIUM_LLVMPIPE -DHAVE_UDIS86
+DEFINES += -DNDEBUG -DGALLIUM_LLVMPIPE -DHAVE_UDIS86 \
+ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
# override -std=c99
-CFLAGS += -std=gnu99 -D__STDC_CONSTANT_MACROS
+CFLAGS += -std=gnu99
LLVM_VERSION := $(shell llvm-config --version)