diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-04-17 11:55:12 +0900 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-12-17 02:39:39 +0100 |
commit | 6b5366b0e67bf22f79d5a3d368645091c82b4dbd (patch) | |
tree | 5faa39b58e327c4f3b441d72dde88989ead01067 | |
parent | b775ffcafcf4a71428e02888f90ed4cf9adce696 (diff) | |
download | admin-6b5366b0e67bf22f79d5a3d368645091c82b4dbd.tar.gz admin-6b5366b0e67bf22f79d5a3d368645091c82b4dbd.zip |
Update default C dialect to C99 standard. This resolves a FTBFS in tdemultimedia
when using libxine2-dev >=1.2.5-1.
(cherry picked from commit b5c58c72eb8ee2f9a126db2ac6d6d3d486e85251)
-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 58508b9..7038b68 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:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS" + CFLAGS="-std=iso9899:1999 -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"]) |