]> granicus.if.org Git - check/commitdiff
* Moved -ansi and -pedantic CFLAGS to src/Makefile.am from configure.ac.
authorhugo303 <hugo303@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Wed, 22 Nov 2006 10:11:49 +0000 (10:11 +0000)
committerhugo303 <hugo303@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Wed, 22 Nov 2006 10:11:49 +0000 (10:11 +0000)
   Without these flags in the tests, they will be able to work again.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@390 64e312b2-a51f-0410-8e61-82d0ca0eb02a

configure.ac
src/Makefile.am

index 7831dacb24ff0cec008fafba593ee9665f3a1190..9b433a7b41725f39b6a6ebf3115926847532437b 100644 (file)
@@ -72,7 +72,7 @@ AC_PROG_INSTALL
 AC_PROG_LN_S
 AC_PROG_LIBTOOL
 if test -n "$GCC"; then
-  CFLAGS="$CFLAGS -ansi -pedantic -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros"
+  CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros"
 fi
 AC_CHECK_PROGS(GCOV, gcov, false)
 AC_CHECK_PROGS(LCOV, lcov, false)
index 7f124d85cf4f437f22715586fa7b4a75d08430d0..47d44e23ee8c195c84330aafdee9e3a75faee77b 100644 (file)
@@ -7,7 +7,7 @@ include_HEADERS         = check.h
 
 EXTRA_DIST             = check.h.in
 
-AM_CFLAGS              = @GCOV_CFLAGS@
+AM_CFLAGS              = @GCOV_CFLAGS@ -ansi -pedantic 
 
 
 CFILES =\