summaryrefslogtreecommitdiff
path: root/debug
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 /debug
parentcb104bd749cffc95cc952bbf37e87c4cd6cbb601 (diff)
* debug/Makefile: Disable format checking when compiling tst-chk?.c.
Diffstat (limited to 'debug')
-rw-r--r--debug/Makefile5
1 files changed, 5 insertions, 0 deletions
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