r600g: Fix build when libdrm is installed to non-standard dir.
authorSatyajit Sarangi <satyajit.sarangi@gmail.com>
Mon, 20 Feb 2012 06:17:56 +0000 (01:17 -0500)
committerTom Stellard <tstellar@gmail.com>
Thu, 23 Feb 2012 01:39:01 +0000 (20:39 -0500)
Signed-off-by: Satyajit Sarangi<kernel.saty@gmail.com>
Signed-off-by: Tom Stellard <tstellar@gmail.com>
src/gallium/drivers/r600/Makefile

index 80f8cbfc80331a6b04919866d3672cd4061c7e24..62e760c78a5a1df2c8529ec65ab8df1f9fc79c2a 100644 (file)
@@ -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