summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-02-19 19:37:30 -0500
committerTom Stellard <[email protected]>2012-02-19 19:40:32 -0500
commite1044b40822cdda1fec39af5a64f332934f2e7ea (patch)
tree322119b490c7d56b7b8f45cc6a9deb285b30f3d3 /src
parentdf5963c25641a7c3a4bbfcb81cc3dc771581590e (diff)
r300g: Fix build when libdrm is installed to non-standard dir
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/Makefile b/src/gallium/drivers/r300/Makefile
index 5f56fc458b3..6346ab1b7a4 100644
--- a/src/gallium/drivers/r300/Makefile
+++ b/src/gallium/drivers/r300/Makefile
@@ -11,6 +11,8 @@ C_SOURCES += \
$(TOP)/src/glsl/ralloc.c \
$(TOP)/src/mesa/program/register_allocate.c
+#This is for libdrm include path
+CFLAGS+=$(RADEON_CFLAGS)
LIBRARY_INCLUDES = \
-I$(TOP)/include \