diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-11-25 18:20:13 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2014-01-23 10:08:53 +0100 |
commit | 2d7852d29a8c9a61e1396ade6052166bb94472b3 (patch) | |
tree | 5e29845eebe0ace779427d0c6075a56e5600c8f6 | |
parent | 54ca25800cba9e348d174ffefe0e0b878ea9d7db (diff) | |
download | strongswan-2d7852d29a8c9a61e1396ade6052166bb94472b3.tar.bz2 strongswan-2d7852d29a8c9a61e1396ade6052166bb94472b3.tar.xz |
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.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 3c1d590fc..ab90571f7 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 |