aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-12 07:53:22 -0700
committerBrian Paul <[email protected]>2012-01-12 07:54:19 -0700
commitc7188ece0ee33f13e6f6aa776a5639bcd4047e5b (patch)
treefcce70df716a9ad9cc43c66d848ed57ce7444676
parent9a548c27aa704236cc1d8a5d4ebf68cea9c5c99c (diff)
configs: fix, simplify RADEON_LIBS, RADEON_CFLAGS
Fixes build problems with the r200, radeon drivers. NOTE: This is a candidate for the 8.0 branch.
-rw-r--r--configs/linux-dri5
1 files changed, 2 insertions, 3 deletions
diff --git a/configs/linux-dri b/configs/linux-dri
index 6990c3a7a80..e63790ea47e 100644
--- a/configs/linux-dri
+++ b/configs/linux-dri
@@ -70,7 +70,6 @@ INTEL_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm_intel)
NOUVEAU_LIBS = $(shell $(PKG_CONFIG) --libs libdrm_nouveau)
NOUVEAU_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm_nouveau)
-LIBDRM_RADEON_LIBS = $(shell $(PKG_CONFIG) --libs libdrm_radeon)
-LIBDRM_RADEON_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm_radeon)
-RADEON_CFLAGS = "-DHAVE_LIBDRM_RADEON=1 $(LIBDRM_RADEON_CFLAGS)"
+RADEON_LIBS = $(shell $(PKG_CONFIG) --libs libdrm_radeon)
+RADEON_CFLAGS = $(shell $(PKG_CONFIG) --cflags libdrm_radeon)
RADEON_LDFLAGS = $(LIBDRM_RADEON_LIBS)