Package: dpkg-dev Version: 1.15.9 Severity: wishlist Hi,
As mentioned at [1], using dpkg-buildflags --export from a makefile is more trouble than one might like. It would be simpler to do something closer to the current thing: CFLAGS := $(shell dpkg-buildflags --get CFLAGS) CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS) FFLAGS := $(shell dpkg-buildflags --get FFLAGS) LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) export CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS except that the dpkg-buildflags documentation suggests this list is not necessarily exhaustive. Would it make sense to provide a /usr/share/dpkg/buildflags.mk for makefiles to include that would expand to incorporate whatever flags are supported at a given moment? This would be closer to the usability of the idea Manoj and some others advocated last year[2]. Jonathan [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;bug=603435 [2] http://lists.debian.org/debian-devel/2009/05/msg00044.html -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org