From 5cc08efe8f708633271adc16208f020d79ddca46 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 24 Apr 2012 10:42:56 -0400 Subject: clover: Add necessary flags to libclllvm_la_CXXFLAGS $(LLVM_CFLAGS) for LLVM defines -DLIBCLC_PATH for libclc path -DCLANG_RESOURCE_DIR for clang includes $(DEFINES) for -DHAVE_LLVM --- src/gallium/state_trackers/clover/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/gallium/state_trackers/clover/Makefile.am') diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am index da9f3bb92da..818ced622d4 100644 --- a/src/gallium/state_trackers/clover/Makefile.am +++ b/src/gallium/state_trackers/clover/Makefile.am @@ -20,7 +20,11 @@ libcltgsi_la_SOURCES = \ tgsi/compiler.cpp libclllvm_la_CXXFLAGS = \ - -std=c++98 + -std=c++98 \ + $(LLVM_CPPFLAGS) \ + $(DEFINES) \ + -DLIBCLC_PATH=\"$(LIBCLC_PATH)/\" \ + -DCLANG_RESOURCE_DIR=\"$(LLVM_LIBDIR)/clang/$(LLVM_VERSION)/\" libclllvm_la_SOURCES = \ llvm/invocation.cpp -- cgit v1.2.3