summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorSatyajit Sarangi <[email protected]>2012-02-20 01:17:56 -0500
committerTom Stellard <[email protected]>2012-02-22 20:39:01 -0500
commit132daa87fbb78f136de3e7c6e7823ada652a70cf (patch)
treea4e50274864ed4ec212951d9196df57bcba9235b /src/gallium/drivers
parent80513ec8b4c812b9c6249cc5824337a5f04ab34c (diff)
r600g: Fix build when libdrm is installed to non-standard dir.
Signed-off-by: Satyajit Sarangi<[email protected]> Signed-off-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/Makefile b/src/gallium/drivers/r600/Makefile
index 80f8cbfc803..62e760c78a5 100644
--- a/src/gallium/drivers/r600/Makefile
+++ b/src/gallium/drivers/r600/Makefile
@@ -3,6 +3,9 @@ include $(TOP)/configs/current
LIBNAME = r600
+#This is for libdrm include path
+CFLAGS+=$(RADEON_CFLAGS)
+
LIBRARY_INCLUDES = -I$(TOP)/include
# get C_SOURCES