summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/Makefile.am
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2013-01-22 18:35:13 +0000
committerJosé Fonseca <[email protected]>2013-01-22 19:10:47 +0000
commitde0057caa66207c5eb94bd251ab357309f78b60c (patch)
tree1071b85465eb024d0c836c2fbaa76a9013db4fcb /src/gallium/drivers/nvc0/Makefile.am
parenta56dfd99e2cf2b7a0916cb59d2866303a627b02f (diff)
nouveau/build: Fix build failures when drm is not in /usr/include.
Fixes failures to include libdrm/nouveau.h when drm is not installed in /usr/include. Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nvc0/Makefile.am')
-rw-r--r--src/gallium/drivers/nvc0/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvc0/Makefile.am b/src/gallium/drivers/nvc0/Makefile.am
index 6a245afcb6b..45e5a63d369 100644
--- a/src/gallium/drivers/nvc0/Makefile.am
+++ b/src/gallium/drivers/nvc0/Makefile.am
@@ -28,6 +28,7 @@ noinst_LTLIBRARIES = libnvc0.la
AM_CPPFLAGS = \
-I$(top_srcdir)/src/gallium/drivers \
-I$(top_srcdir)/include \
- $(GALLIUM_CFLAGS)
+ $(GALLIUM_CFLAGS) \
+ $(NOUVEAU_CFLAGS)
libnvc0_la_SOURCES = $(C_SOURCES) $(CPP_SOURCES)