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:37 +0200
commitb5373d6ec2d9431fa6c1c218137f9e3f5ca1f4af (patch)
tree43b7a8351c0f06d76ae92511ea306b1ab80d8643
parente1928ee8fcab77e67f8e6b222f9861ecd18a3050 (diff)
downloadadmin-b5373d6ec2d9431fa6c1c218137f9e3f5ca1f4af.tar.gz
admin-b5373d6ec2d9431fa6c1c218137f9e3f5ca1f4af.zip
Do not force C dialect for automake buildsr14.0.4
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 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"])