From: Ulrich Drepper Date: Sun, 26 Aug 2007 01:19:56 +0000 (+0000) Subject: * debug/Makefile: Disable format checking when compiling tst-chk?.c. X-Git-Tag: cvs/fedora-glibc-20070827T2032~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a344d1deb9caf6e7a3236bef616a4cb15043da7;p=thirdparty%2Fglibc.git * debug/Makefile: Disable format checking when compiling tst-chk?.c. --- diff --git a/ChangeLog b/ChangeLog index b657305f2cd..c1096d0c3c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2007-08-25 Ulrich Drepper + * 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 b9902cb4bf2..c6cc588b901 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