svn commit: trunk/busybox

aldot at busybox.net aldot at busybox.net
Wed Mar 29 22:28:27 UTC 2006


Author: aldot
Date: 2006-03-29 14:28:27 -0800 (Wed, 29 Mar 2006)
New Revision: 14696

Log:
- warn a bit more verbosely about fmt stuff for non-release versions


Modified:
   trunk/busybox/Rules.mak


Changeset:
Modified: trunk/busybox/Rules.mak
===================================================================
--- trunk/busybox/Rules.mak	2006-03-29 22:22:37 UTC (rev 14695)
+++ trunk/busybox/Rules.mak	2006-03-29 22:28:27 UTC (rev 14696)
@@ -196,6 +196,14 @@
     LDFLAGS += $(call check_ld,--warn-common,)
     LDFLAGS += $(call check_ld,--sort-common,)
 endif
+# warn a bit more verbosely for non-release versions
+ifneq ($(EXTRAVERSION),)
+    CFLAGS+=$(call check_gcc,-Wformat,)
+    CFLAGS+=$(call check_gcc,-Wformat=2,)
+    CFLAGS+=$(call check_gcc,-Wformat-nonliteral,)
+    CFLAGS+=$(call check_gcc,-Wformat-security,)
+    CFLAGS+=$(call check_gcc,-Wformat-y2k,)
+endif
 STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment
 ifeq ($(strip $(CONFIG_STATIC)),y)
     PROG_CFLAGS += $(call check_gcc,-static,)




More information about the busybox-cvs mailing list