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:06:26 +0200
commit04c35f89e0b556b38fa0ba19a8af6db426e59686 (patch)
tree43b7a8351c0f06d76ae92511ea306b1ab80d8643
parente147134c949daa4c49611405c27805f21ac51502 (diff)
downloadadmin-04c35f89e0b556b38fa0ba19a8af6db426e59686.tar.gz
admin-04c35f89e0b556b38fa0ba19a8af6db426e59686.zip
Do not force C dialect for automake builds
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--acinclude.m4.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4.in b/acinclude.m4.in
index f822fcc..d85b119 100644
--- a/acinclude.m4.in
+++ b/acinclude.m4.in
@@ -3568,7 +3568,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"])