[PATCH] radeon: Add missing libdrm_radeon cflags to compiler paramaters.

Pauli Nieminen suokkos at gmail.com
Mon Sep 14 06:36:48 PDT 2009


This fixes compilation if libdrm_radeon is installed to non-standard location like /opt.

---
 src/Makefile.am |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index e0434f4..93f237c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -73,7 +73,16 @@ if USE_EXA
 RADEON_EXA_SOURCES = radeon_exa.c r600_exa.c r6xx_accel.c r600_textured_videofuncs.c r600_shader.c
 endif
 
-AM_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@ @XMODES_CFLAGS@ -DDISABLE_EASF -DENABLE_ALL_SERVICE_FUNCTIONS -DATOM_BIOS -DATOM_BIOS_PARSER -DDRIVER_PARSER
+AM_CFLAGS = \
+            @LIBDRM_RADEON_CFLAGS@ \
+            @XORG_CFLAGS@ \
+            @DRI_CFLAGS@ \
+            @XMODES_CFLAGS@ \
+            -DDISABLE_EASF \
+            -DENABLE_ALL_SERVICE_FUNCTIONS \
+            -DATOM_BIOS \
+            -DATOM_BIOS_PARSER \
+            -DDRIVER_PARSER
 
 INCLUDES = -I$(srcdir)/AtomBios/includes
 
-- 
1.6.3.3



More information about the xorg-driver-ati mailing list