[Mesa-dev] [PATCH 08/11] clover: Add necessary flags to libclllvm_la_CXXFLAGS
Tom Stellard
tstellar at gmail.com
Tue May 22 10:25:19 PDT 2012
$(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 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am
index da9f3bb..818ced6 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
--
1.7.3.4
More information about the mesa-dev
mailing list