* Russ Allbery <r...@debian.org> [120624 23:13]: > When integrating with a build system that uses only one variable for > compilation flags, just pass the concatenation of CFLAGS and CPPFLAGS into > it. This is trivially done in debian/rules without modifying the upstream > source.
Build systems not doing CPPFLAGS often also are incorrect in other aspects. Like using CFLAGS where CXXFLAGS are meant. Or having a differently named LDFLAGS. Or not having LDFLAGS at all and needing them in a variable called CFLAGS, too. Or only passing LDFLAGS at link time so needed CFLAGS or CXXFLAGS concatenated into LDFLAGS or or or. It's all mostly trivially done but there are quite a number of variants. Anything not having CPPFLAGS is usually simply so non-standard that a human has to look at it anyway and no automatic approach will help. Bernhard R. Link -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120625083304.ga3...@client.brlink.eu