* debug/Makefile: Disable format checking when compiling tst-chk?.c.
authorUlrich Drepper <drepper@redhat.com>
Sun, 26 Aug 2007 01:19:56 +0000 (01:19 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 26 Aug 2007 01:19:56 +0000 (01:19 +0000)
ChangeLog
debug/Makefile

index b657305..c1096d0 100644 (file)
--- 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
index b9902cb..c6cc588 100644 (file)
@@ -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