summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2013-02-13 20:57:25 +0000
committerTom Stellard <[email protected]>2013-02-19 15:52:55 +0000
commit1f006717db5258e703d83b37772b85ad25bf3319 (patch)
treed9b743c961664cd8e3a48a72e92f602c438d93a0
parent444246c7e374a862f281afbcf9f7c5c9f87ac6aa (diff)
r600g: Add $(DEFINES) to AM_CXXFLAGS
This way llvm_wrapper.cpp is compiled with -DHAVE_LLVM=0x....
-rw-r--r--src/gallium/drivers/r600/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/Makefile.am b/src/gallium/drivers/r600/Makefile.am
index 6f48b56d9ae..e1c8574eb9e 100644
--- a/src/gallium/drivers/r600/Makefile.am
+++ b/src/gallium/drivers/r600/Makefile.am
@@ -26,7 +26,8 @@ AM_CFLAGS += \
-I$(top_srcdir)/src/gallium/drivers/radeon/
AM_CXXFLAGS= \
- $(LLVM_CXXFLAGS)
+ $(LLVM_CXXFLAGS) \
+ $(DEFINES)
endif
if USE_R600_LLVM_COMPILER