summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r600/Makefile.am4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/Makefile.am b/src/gallium/drivers/r600/Makefile.am
index 6de7e0f0564..6f48b56d9ae 100644
--- a/src/gallium/drivers/r600/Makefile.am
+++ b/src/gallium/drivers/r600/Makefile.am
@@ -13,8 +13,7 @@ AM_CFLAGS = \
libr600_la_SOURCES = \
$(C_SOURCES)
-if USE_R600_LLVM_COMPILER
-if HAVE_GALLIUM_COMPUTE
+if R600_NEED_RADEON_GALLIUM
libr600_la_SOURCES += \
$(LLVM_C_SOURCES) \
@@ -29,7 +28,6 @@ AM_CFLAGS += \
AM_CXXFLAGS= \
$(LLVM_CXXFLAGS)
endif
-endif
if USE_R600_LLVM_COMPILER
AM_CFLAGS += \