]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
no_Wformat means -Wno-format.
authorRoland McGrath <roland@redhat.com>
Fri, 23 Jan 2009 03:17:07 +0000 (19:17 -0800)
committerRoland McGrath <roland@redhat.com>
Fri, 23 Jan 2009 03:17:07 +0000 (19:17 -0800)
src/ChangeLog
src/Makefile.am

index 0f9da75433f893d319c0a823ea56c54a08f9cd05..4bd36618b578c1a344a155c0128c7f5c48582dcc 100644 (file)
@@ -1,5 +1,7 @@
 2009-01-22  Roland McGrath  <roland@redhat.com>
 
+       * Makefile.am (AM_CFLAGS): Pass -Wno-format for *_no_Wformat.
+
        * readelf.c (print_debug_frame_section): Initialize IS_SIGNED to false
        and reset it only for the 'true' cases.
 
index 091642fe047c57630ae83beaf7b1e04ca1b1158f..c92accbe1f1c821640eae6b94d77247aa3724569 100644 (file)
@@ -34,7 +34,7 @@ endif
 AM_CFLAGS += -Wall -Wshadow -std=gnu99 $(native_ld_cflags) \
             $(if $($(*F)_no_Werror),,-Werror) \
             $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
-            $(if $($(*F)_no_Wformat),,-Wformat=2) $(CFLAGS_$(*F))
+            $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2) $(CFLAGS_$(*F))
 
 INCLUDES = -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
           -I$(srcdir)/../libdw -I$(srcdir)/../libdwfl \