Enabling flags depending on buildd gcc version
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
Reply to: