[Mesa-dev] [PATCH 1/2] r600g: Add $(DEFINES) to AM_CXXFLAGS

Tom Stellard tom at stellard.net
Wed Feb 13 13:43:57 PST 2013


From: Tom Stellard <thomas.stellard at amd.com>

This way llvm_wrapper.cpp is compiled with -DHAVE_LLVM=0x....
---
 src/gallium/drivers/r600/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/r600/Makefile.am b/src/gallium/drivers/r600/Makefile.am
index 6f48b56..e1c8574 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
-- 
1.7.11.4



More information about the mesa-dev mailing list