summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/dri')
-rw-r--r--src/gallium/targets/dri/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/Makefile.am b/src/gallium/targets/dri/Makefile.am
index 9e643775ab7..bb10e8d9ed5 100644
--- a/src/gallium/targets/dri/Makefile.am
+++ b/src/gallium/targets/dri/Makefile.am
@@ -33,6 +33,11 @@ AM_CPPFLAGS += \
-DDRI_TARGET
endif
+if HAVE_GALLIUM_SVGA
+AM_CPPFLAGS += \
+ -DDRI_TARGET
+endif
+
if HAVE_GALLIUM_FREEDRENO
AM_CPPFLAGS += \
-DDRI_TARGET