Permalink
Browse files

added another compiler switch and fixed typo in ax_pthread

  • Loading branch information...
1 parent 47a7b10 commit 4257dfd962d381975216829e54e08162c36d7019 xchatty committed Dec 26, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 configure.ac
  2. +1 −1 m4/ax_pthread.m4
View
4 configure.ac
@@ -66,7 +66,7 @@ AC_CANONICAL_HOST
WARNINGS_TO_TEST="-MD -D_FORTIFY_SOURCE=2 -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes \
-Wshadow -Wwrite-strings -Wcast-align -Waggregate-return \
-Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wdisabled-optimization \
- -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wmissing-noreturn "
+ -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wmissing-noreturn -funit-at-a-time"
if test $mingw = "no" ; then
# add the warnings we don't want to do on mingw
@@ -100,7 +100,7 @@ WARNINGS_TO_TEST="-Wall -MD -D_FORTIFY_SOURCE=2 -Wpointer-arith \
-Wshadow -Wwrite-strings -Wcast-align \
-Wredundant-decls -Wdisabled-optimization \
-Wfloat-equal -Wmultichar -Wmissing-noreturn \
- -Wstrict-null-sentinel -Woverloaded-virtual -Wsign-promo"
+ -Wstrict-null-sentinel -Woverloaded-virtual -Wsign-promo -funit-at-a-time"
if test $mingw = "no" ; then
# add the warnings we don't want to do on mingw
View
2 m4/ax_pthread.m4
@@ -299,4 +299,4 @@ else
$2
fi
AC_LANG_POP
-])dnl AX_PTHREAD
+]) dnl AX_PTHREAD

0 comments on commit 4257dfd

Please sign in to comment.