From: Tom Stellard Date: Tue, 24 Apr 2012 14:42:56 +0000 (-0400) Subject: clover: Add necessary flags to libclllvm_la_CXXFLAGS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5cc08efe8f708633271adc16208f020d79ddca46;p=mesa.git 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 --- 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