aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--debug/Makefile5
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b657305f2c..c1096d0c3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2007-08-25 Ulrich Drepper <drepper@redhat.com>
+ * debug/Makefile: Disable format checking when compiling tst-chk?.c.
+
* config.make.in (datarootdir): Add to shut up configure.
* sysdeps/x86_64/cacheinfo.c (handle_amd): Fix computation of
diff --git a/debug/Makefile b/debug/Makefile
index b9902cb4bf..c6cc588b90 100644
--- a/debug/Makefile
+++ b/debug/Makefile
@@ -72,6 +72,11 @@ CFLAGS-pread64_chk.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-recv_chk.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-recvfrom_chk.c = -fexceptions -fasynchronous-unwind-tables
+# We know these tests have problems with format strings, this is what
+# we are testing. Disable that warning.
+CFLAGS-tst-chk1.c = -Wno-format
+CFLAGS-tst-chk2.c = -Wno-format
+CFLAGS-tst-chk3.c = -Wno-format
tst-chk1-ENV = LOCPATH=$(common-objpfx)localedata
tst-chk2-ENV = LOCPATH=$(common-objpfx)localedata
tst-chk3-ENV = LOCPATH=$(common-objpfx)localedata