Browse Source

Update default C dialect to C99 standard. This resolves a FTBFS in tdemultimedia

when using libxine2-dev >=1.2.5-1.
tags/r14.0.0
Michele Calgaro 5 years ago
parent
commit
b5c58c72eb
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      acinclude.m4.in

+ 1
- 1
acinclude.m4.in View File

@@ -3568,7 +3568,7 @@ AC_DEFUN([AC_CHECK_COMPILERS],
3568 3568
         CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
3569 3569
         case $host in
3570 3570
           *-*-linux-gnu)	
3571
-            CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
3571
+            CFLAGS="-std=iso9899:1999 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
3572 3572
             CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts $CXXFLAGS"
3573 3573
             KDE_CHECK_COMPILER_FLAG(Wmissing-format-attribute, [CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"])
3574 3574
             KDE_CHECK_C_COMPILER_FLAG(Wmissing-format-attribute, [CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"])

Loading…
Cancel
Save