summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/clover/Makefile.am6
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 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