From: Tobias Brunner Date: Mon, 25 Nov 2013 17:20:13 +0000 (+0100) Subject: configure: Add -Wno-format-security to default CFLAGS X-Git-Tag: 5.1.2rc1~53 X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=commitdiff_plain;h=2d7852d29a8c9a61e1396ade6052166bb94472b3 configure: Add -Wno-format-security to default CFLAGS Either due to a change in Ubuntu 13.10 or GCC 4.8 -Wno-format has no effect if -Wformat-security is enabled (which it is on Ubuntu) so we also disable the latter by default. --- diff --git a/configure.ac b/configure.ac index 3c1d590..ab90571 100644 --- a/configure.ac +++ b/configure.ac @@ -284,7 +284,7 @@ fi # =========================== if test -z "$CFLAGS"; then - CFLAGS="-g -O2 -Wall -Wno-format -Wno-pointer-sign" + CFLAGS="-g -O2 -Wall -Wno-format -Wno-format-security -Wno-pointer-sign" fi AC_PROG_CC AM_PROG_CC_C_O