diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-01-28 01:26:08 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-01-28 09:34:26 +0100 |
commit | ba60229fb724b73d65b9342ade8d84f54722a425 (patch) | |
tree | d2c1ea56b781783b50ba4697207b184fa029b0f6 | |
parent | cb77496f0b0e70014380472d38a8832b8eeafc45 (diff) | |
download | admin-ba60229fb724b73d65b9342ade8d84f54722a425.tar.gz admin-ba60229fb724b73d65b9342ade8d84f54722a425.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>
(cherry picked from commit 133b3127ab69b497f2b1cfe9ac2386e6dd24288d)
-rw-r--r-- | acinclude.m4.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4.in b/acinclude.m4.in index a9887f8..9ea22f7 100644 --- a/acinclude.m4.in +++ b/acinclude.m4.in @@ -3572,7 +3572,7 @@ AC_DEFUN([AC_CHECK_COMPILERS], case $host in *-*-linux-gnu) 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" + CXXFLAGS="-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"]) ;; |