summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-01-28 01:26:08 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-01-28 09:32:33 +0100
commit133b3127ab69b497f2b1cfe9ac2386e6dd24288d (patch)
tree0692bd5d0d8a9c57e0cd171afd62a3be990b7f9b
parentf656574fa047e8d342c80d84cf0686be4e561dab (diff)
downloadadmin-133b3127ab69b497f2b1cfe9ac2386e6dd24288d.tar.gz
admin-133b3127ab69b497f2b1cfe9ac2386e6dd24288d.zip
Drop -ansi from CXXFLAGS because it is actually a synonym for enforcing -std=c++98.
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 f294970..d5c64c7 100644
--- a/acinclude.m4.in
+++ b/acinclude.m4.in
@@ -3129,7 +3129,7 @@ AC_DEFUN([AC_CHECK_COMPILERS],
case $host in
*-*-linux-gnu)
CFLAGS="-W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_DEFAULT_SOURCE $CFLAGS"
- CXXFLAGS="-ansi -D_DEFAULT_SOURCE -Wcast-align -Wchar-subscripts $CXXFLAGS"
+ CXXFLAGS="-D_DEFAULT_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"])
;;