diff options
author | Michele Calgaro <[email protected]> | 2014-04-17 11:55:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2014-04-17 11:55:12 +0900 |
commit | b5c58c72eb8ee2f9a126db2ac6d6d3d486e85251 (patch) | |
tree | a7e05fdc76258e41597398fe185d76037c5cfd1e | |
parent | 8fd91e197fdabc9c650de1c1d76aa91ffca0c77c (diff) | |
download | admin-b5c58c72eb8ee2f9a126db2ac6d6d3d486e85251.tar.gz admin-b5c58c72eb8ee2f9a126db2ac6d6d3d486e85251.zip |
Update default C dialect to C99 standard. This resolves a FTBFS in tdemultimedia
when using libxine2-dev >=1.2.5-1.
-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 3d4bd86..de797c1 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: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"]) |