From 8c3fc96b7a2763e077058edb16cf54c533ae962f Mon Sep 17 00:00:00 2001 From: John Ellson Date: Wed, 27 Jul 2016 04:21:31 -0400 Subject: [PATCH] some -W flags not available on centos[56] --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e9dc3ee2a..f7a730562 100644 --- a/configure.ac +++ b/configure.ac @@ -333,7 +333,10 @@ then if [test "${ac_cv_prog_cc_c99}" != "no"] then # When enabling c99 on this codebase, this POSIX version should be defined - CFLAGS="${CFLAGS} -D_POSIX_C_SOURCE=200112L -Wdouble-promotion -Wtrampolines -Wlogical-op" + CFLAGS="${CFLAGS} -D_POSIX_C_SOURCE=200112L" + + # FIXME - not available on centos[56]: gcc-4.1.2, gcc-4.4.7 + # -Wdouble-promotion -Wtrampolines -Wlogical-op fi fi # Workaround for native compilers -- 2.40.0