This patch /should/ be enough to get mesa built with debugging symbols:
diff -u mesa-6.5.0.cvs.20060524/debian/rules
mesa-6.5.0.cvs.20060524/debian/rules
--- mesa-6.5.0.cvs.20060524/debian/rules
+++ mesa-6.5.0.cvs.20060524/debian/rules
@@ -66,6 +66,6 @@
mkdir -p build/$(1)-$(2)/lib/ ; \
ln -sf ../../gl-$(2)/lib/libGL.so build/$(1)-$(2)/lib/ ; \
fi
- make -C build/$(1)-$(2)/src SRC_DIRS=$(3) DEBIAN_DRIVERS_DIR=$(if
$(call driver_map,$(1)-$(2),1),/$(call driver_map,$(1)-$(2),3))
+ make -C build/$(1)-$(2)/src CFLAGS="$(CFLAGS)" SRC_DIRS=$(3)
DEBIAN_DRIVERS_DIR=$(if $(call driver_map,$(1)-$(2),1),/$(call
driver_map,$(1)-$(2),3))
if test $(1) != gl ; then \
rm build/$(1)-$(2)/lib/libGL.so ; \
Unfortunately, upstream's build system is too fragile for this, and setting
CFLAGS in the environment appears to override other CFLAGS that need to be
set in order to build the drivers correctly.
More investigation needed.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
[EMAIL PROTECTED] http://www.debian.org/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]