summaryrefslogtreecommitdiff
path: root/gnulib-tests
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 /gnulib-tests
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.
Diffstat (limited to 'gnulib-tests')
-rw-r--r--gnulib-tests/Makefile.am2
1 files changed, 2 insertions, 0 deletions
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)