summaryrefslogtreecommitdiffstats
path: root/src/gallium/Makefile.template
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/Makefile.template')
-rw-r--r--src/gallium/Makefile.template4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/Makefile.template b/src/gallium/Makefile.template
index 43203b1756e..bff399ec64f 100644
--- a/src/gallium/Makefile.template
+++ b/src/gallium/Makefile.template
@@ -23,6 +23,10 @@ INCLUDES = \
-I$(TOP)/src/gallium/drivers \
$(LIBRARY_INCLUDES)
+ifeq ($(MESA_LLVM),1)
+LIBRARY_DEFINES += $(LLVM_CFLAGS)
+endif
+
##### TARGETS #####