From 1f006717db5258e703d83b37772b85ad25bf3319 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 13 Feb 2013 20:57:25 +0000 Subject: [PATCH] r600g: Add $(DEFINES) to AM_CXXFLAGS 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 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 -- 2.30.2