diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-06-21 10:28:11 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-06-21 10:28:11 +0000 |
commit | b7e61485d6203080f17702f28090ebb85dc905ce (patch) | |
tree | 4b37abe2636576a0fda10d8805c929bdff2326a0 /Makefile.flags | |
parent | 789b87edf573bcd432c6bd38ed1dabb2e45866cd (diff) | |
download | busybox-w32-b7e61485d6203080f17702f28090ebb85dc905ce.tar.gz busybox-w32-b7e61485d6203080f17702f28090ebb85dc905ce.tar.bz2 busybox-w32-b7e61485d6203080f17702f28090ebb85dc905ce.zip |
since we removed the deprecated matches() now and thus not alot of warnings are currently seen, let's strive to fixup these:
- warn a little bit about unused results
Diffstat (limited to 'Makefile.flags')
-rw-r--r-- | Makefile.flags | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags index c9b713b02..e73cf9d31 100644 --- a/Makefile.flags +++ b/Makefile.flags | |||
@@ -28,6 +28,9 @@ CFLAGS += $(call cc-option,-Wundef -Wstrict-prototypes,) | |||
28 | 28 | ||
29 | ifeq ($(CONFIG_WERROR),y) | 29 | ifeq ($(CONFIG_WERROR),y) |
30 | CFLAGS += $(call cc-option,-Werror,) | 30 | CFLAGS += $(call cc-option,-Werror,) |
31 | else | ||
32 | # for development, warn a little bit about unused results.. | ||
33 | CPPFLAGS += -D_FORTIFY_SOURCE=2 | ||
31 | endif | 34 | endif |
32 | # gcc 3.x emits bogus "old style proto" warning on find.c:alloc_action() | 35 | # gcc 3.x emits bogus "old style proto" warning on find.c:alloc_action() |
33 | CFLAGS += $(call cc-ifversion, -ge, 0400, -Wold-style-definition) | 36 | CFLAGS += $(call cc-ifversion, -ge, 0400, -Wold-style-definition) |