Mesa (master): mesa: add -D__STDC_CONSTANT_MACROS to linux-llvm
Brian Paul
brianp at kemper.freedesktop.org
Wed Apr 14 20:33:06 UTC 2010
Module: Mesa
Branch: master
Commit: 816fe9dd094ea3fc7355ddfaf366062cc37193e6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=816fe9dd094ea3fc7355ddfaf366062cc37193e6
Author: Brian Paul <brianp at vmware.com>
Date: Thu Apr 8 13:41:50 2010 -0600
mesa: add -D__STDC_CONSTANT_MACROS to linux-llvm
This is needed in more places (st_cb_feedback.c) since the new LLVM
code has been added to the gallium/draw module.
---
configs/linux-llvm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configs/linux-llvm b/configs/linux-llvm
index 1b15a30..83d2fc3 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
+CFLAGS += -std=gnu99 -D__STDC_CONSTANT_MACROS
LLVM_VERSION := $(shell llvm-config --version)
More information about the mesa-commit
mailing list