[pisa-src] r1619 - trunk/configure.ac

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Tue, 10 Nov 2009 17:46:56 +0100

Author: biurrun
Date: Tue Nov 10 17:46:55 2009
New Revision: 1619

Log:
Drop -Winline from our default set of compiler warning flags.
-Winline produces warnings that vary wildly between compiler versions and
depend on optimization flags that are currently in use. This causes continues
trouble with OpenWrt and makes it hard to create a warnings-free build.

Modified:
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac  Tue Nov 10 17:39:20 2009        (r1618)
+++ trunk/configure.ac  Tue Nov 10 17:46:55 2009        (r1619)
@@ -73,7 +73,7 @@
 
 
 # Set default AM_CFLAGS for the complete project.
-AC_SUBST(AM_CFLAGS, "-std=gnu99 -Wall -Wextra -Wredundant-decls 
-Wstrict-prototypes -Wdisabled-optimization -Wpointer-arith -Wundef -Winline 
-Wno-deprecated-declarations -Wmissing-prototypes -Wwrite-strings -Wcast-qual 
-Wshadow -Werror")
+AC_SUBST(AM_CFLAGS, "-std=gnu99 -Wall -Wextra -Wredundant-decls 
-Wstrict-prototypes -Wdisabled-optimization -Wpointer-arith -Wundef 
-Wno-deprecated-declarations -Wmissing-prototypes -Wwrite-strings -Wcast-qual 
-Wshadow -Werror")
 
 # If no --prefix option is passed to configure, $prefix is empty. But we want
 # to expand $sysconfdir, which defaults to ${prefix}/etc. So set $prefix.

Other related posts:

  • » [pisa-src] r1619 - trunk/configure.ac - Diego Biurrun