On 18 June 2013 15:29, Franz Schrober <[email protected]> wrote: > Hi, > > > is it possible with dh/debhelper to enabling specific compiler flags easily > depending on the gcc-defaults package/gcc version? Problem is the GCC 4.8 > version which currently needs -fno-aggressive-loop-optimizations until some > source code depending on some non-standard compliant behaviour are fixed. Just > adding this to DEB_CFLAGS_MAINT_APPEND will cause build failures on > architectures without GCC 4.8 (only used by default on amd64, armel, armhf, > hurd-i386, i386, kfreebsd-amd64, kfreebsd-i386). > > I would like to avoid to write special autohell/cmake/custom configure tests >
That's a job of configure scripts. testing compiler options is easy and well supported / easy to add a new one using upstream's scripts. Regards, Dmitrijs. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/canbhlugbp3aov23_ksmykkeyuzuoxfpxqdkbutvypwu3woz...@mail.gmail.com

