summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-08-07 17:06:26 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-08-07 17:07:57 +0200
commit63a1b8388a3b2b41cfde34ec6e1e4f62c70d00de (patch)
tree186abe1bf4633f9929c30a68fdbe121f7f112ab6
parentd64fddb6f9a5a39cac4af9a4a3236e7ea8b002a9 (diff)
downloadadmin-63a1b8388a3b2b41cfde34ec6e1e4f62c70d00de.tar.gz
admin-63a1b8388a3b2b41cfde34ec6e1e4f62c70d00de.zip
Do not force C dialect for automake builds
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 04c35f89e0b556b38fa0ba19a8af6db426e59686)
-rw-r--r--acinclude.m4.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4.in b/acinclude.m4.in
index 9f8bb28..90c2f9b 100644
--- a/acinclude.m4.in
+++ b/acinclude.m4.in
@@ -3505,7 +3505,7 @@ AC_DEFUN([AC_CHECK_COMPILERS],
CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
case $host in
*-*-linux-gnu)
- CFLAGS="-std=iso9899:1999 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
+ CFLAGS="-W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts $CXXFLAGS"
KDE_CHECK_COMPILER_FLAG(Wmissing-format-attribute, [CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"])
KDE_CHECK_C_COMPILER_FLAG(Wmissing-format-attribute, [CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"])