summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-10-21 11:27:29 -0600
committerEric Blake <ebb9@byu.net>2009-10-22 08:05:09 -0600
commit5e361387d0a20ac1cbff45dee61d158be83238c0 (patch)
tree80880987395c9d31e82b87e11a07b6493d8f9d42
parentcbf36952d8c227aa5e46acf8643458a7fd51d473 (diff)
downloadcoreutils-5e361387d0a20ac1cbff45dee61d158be83238c0.tar.xz
maint: turn on compiler warnings for gnulib tests
* gnulib-tests/Makefile.am (AM_CFLAGS): Add WARN_CFLAGS. * configure.ac (enable-gcc-warnings): Also use -funit-at-a-time, to silence gcc 4.3.4 -Wdisabled-optimization. * .gitignore: Ignore some more files.
-rw-r--r--.gitignore3
-rw-r--r--configure.ac1
m---------gnulib0
-rw-r--r--gnulib-tests/Makefile.am2
4 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 111662069..3ae9bf014 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,11 +47,13 @@ lib/arpa
lib/binary-io.h
lib/charset.alias
lib/configmake.h
+lib/glthread
lib/libcoreutils.a
lib/printf.c
lib/progname.c
lib/progname.h
lib/selinux
+lib/unistr
lib/uniwidth
m4/.cvsignore
m4/.gitignore
@@ -72,3 +74,4 @@ src/version.c
src/version.h
stamp-h1
tests/*/*.log
+tests/test-suite.log
diff --git a/configure.ac b/configure.ac
index 4902fea67..3efc819a1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -106,6 +106,7 @@ if test "$gl_gcc_warnings" = yes; then
gl_WARN_ADD([-Wno-logical-op])
gl_WARN_ADD([-fdiagnostics-show-option])
+ gl_WARN_ADD([-funit-at-a-time])
AC_SUBST([WARN_CFLAGS])
diff --git a/gnulib b/gnulib
-Subproject f7f4cd99ff9ce8efee94aafdd5980cb4bb1d139
+Subproject 447ce7436647899cfe03ee154bb2b2789d3a8ea
diff --git a/gnulib-tests/Makefile.am b/gnulib-tests/Makefile.am
index 6635f7065..494786faf 100644
--- a/gnulib-tests/Makefile.am
+++ b/gnulib-tests/Makefile.am
@@ -1 +1,3 @@
include gnulib.mk
+
+AM_CFLAGS = $(WARN_CFLAGS) # $(WERROR_CFLAGS)