diff options
| author | Roland McGrath <[email protected]> | 2009-01-22 19:17:07 -0800 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2009-01-22 19:17:07 -0800 |
| commit | d759aa6df852e7776ab94eeee71a27989a11688b (patch) | |
| tree | b1b48c3dd86eac663c2a476f2ce64c94f3ca1ee3 | |
| parent | 80d94f480549726db0e407a60c6cec16622ba5c4 (diff) | |
no_Wformat means -Wno-format.
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/Makefile.am | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0f9da754..4bd36618 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2009-01-22 Roland McGrath <[email protected]> + * 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. diff --git a/src/Makefile.am b/src/Makefile.am index 091642fe..c92accbe 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 \ |
