On Sun, Nov 03, 2013 at 05:15:21PM +0000, Julian Gilbey wrote: > > So my idea would be to start the cflags etc variables by dpkg-buildflags and > > then append as needed per architecture. Worst case it fails as we have > > conflicting statements (-O3 ... -O0) in the same string. Do you know if > > order is left to right, or first wins, or ... ? > > I don't know the answer to this. I had a quick look at both the gcc > documentation and gcc source, and I'm as clueless as I was before I > looked. :-(
I had another look at the source: it appears to be left-to-right. So using cflags += ... in the Makefile is probably the way to go for the special-casing. Julian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org