about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-08-26 01:19:56 +0000
committerUlrich Drepper <drepper@redhat.com>2007-08-26 01:19:56 +0000
commit7a344d1deb9caf6e7a3236bef616a4cb15043da7 (patch)
tree7d76b4f006b6febce9c96c9736af24f792332490
parentcb104bd749cffc95cc952bbf37e87c4cd6cbb601 (diff)
downloadglibc-7a344d1deb9caf6e7a3236bef616a4cb15043da7.tar.gz
glibc-7a344d1deb9caf6e7a3236bef616a4cb15043da7.tar.xz
glibc-7a344d1deb9caf6e7a3236bef616a4cb15043da7.zip
* debug/Makefile: Disable format checking when compiling tst-chk?.c.
-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