projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
789b87e
)
since we removed the deprecated matches() now and thus not alot of warnings are curre...
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Thu, 21 Jun 2007 10:28:11 +0000
(10:28 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Thu, 21 Jun 2007 10:28:11 +0000
(10:28 -0000)
- warn a little bit about unused results
Makefile.flags
patch
|
blob
|
history
diff --git
a/Makefile.flags
b/Makefile.flags
index c9b713b029b22d2faf877277085ce4969b792b7a..e73cf9d31e6bdffc2093ad72a9e8f18f333726e7 100644
(file)
--- a/
Makefile.flags
+++ b/
Makefile.flags
@@
-28,6
+28,9
@@
CFLAGS += $(call cc-option,-Wundef -Wstrict-prototypes,)
ifeq ($(CONFIG_WERROR),y)
CFLAGS += $(call cc-option,-Werror,)
+else
+# for development, warn a little bit about unused results..
+CPPFLAGS += -D_FORTIFY_SOURCE=2
endif
# gcc 3.x emits bogus "old style proto" warning on find.c:alloc_action()
CFLAGS += $(call cc-ifversion, -ge, 0400, -Wold-style-definition)