about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-08-26 01:49:11 +0000
committerUlrich Drepper <drepper@redhat.com>2007-08-26 01:49:11 +0000
commit01339a67096fe99e866832ac39e03f7679a35ba4 (patch)
treefdd0efbf789fc3f8b3a4741b72149a353edc2a7c
parent3fa1046805695f2baca120331f9a2b7bc736db20 (diff)
downloadglibc-01339a67096fe99e866832ac39e03f7679a35ba4.tar.gz
glibc-01339a67096fe99e866832ac39e03f7679a35ba4.tar.xz
glibc-01339a67096fe99e866832ac39e03f7679a35ba4.zip
* stdio-common/Makefile: Avoid format string warning for tst-sprint.
-rw-r--r--ChangeLog2
-rw-r--r--stdio-common/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 324bcabb25..b28776d77f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2007-08-25  Ulrich Drepper  <drepper@redhat.com>
 
+	* stdio-common/Makefile: Avoid format string warning for tst-sprint.
+
 	* posix/regex_internal.h: Prevent some declarations and definitions
 	to be seen when used in tests.
 
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 104c0e0d91..84aebf4945 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -94,6 +94,8 @@ CFLAGS-cuserid.c = -fexceptions
 CFLAGS-errlist.c = $(fno-unit-at-a-time)
 CFLAGS-siglist.c = $(fno-unit-at-a-time)
 
+# We know the test has a format string problem.
+CFLAGS-tst-sprintf.c = -Wno-format
 tst-sscanf-ENV = LOCPATH=$(common-objpfx)localedata
 tst-swprintf-ENV = LOCPATH=$(common-objpfx)localedata
 test-vfprintf-ENV = LOCPATH=$(common-objpfx)localedata