aboutsummaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2012-09-07 11:48:25 +0100
committerRon Yorston <rmy@pobox.com>2012-09-07 11:48:25 +0100
commitfecf687cc358883de2da21de33346f0df204c80b (patch)
treed22c606157926fb659374ae68d55e3a874bacf25 /Makefile.flags
parentb25a7c28a0f684087fa6ccbbc7e265a9cac0f0fa (diff)
parent6d463de46b418e6c4c8d1397033608f78b33ab21 (diff)
downloadbusybox-w32-fecf687cc358883de2da21de33346f0df204c80b.tar.gz
busybox-w32-fecf687cc358883de2da21de33346f0df204c80b.tar.bz2
busybox-w32-fecf687cc358883de2da21de33346f0df204c80b.zip
Merge branch 'busybox' into merge
Conflicts: include/libbb.h shell/ash.c
Diffstat (limited to 'Makefile.flags')
-rw-r--r--Makefile.flags4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags
index 4cbef0597..fbb348a39 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -25,6 +25,7 @@ CFLAGS += $(call cc-option,-Wstrict-prototypes,)
25CFLAGS += $(call cc-option,-Wunused -Wunused-parameter,) 25CFLAGS += $(call cc-option,-Wunused -Wunused-parameter,)
26CFLAGS += $(call cc-option,-Wunused-function -Wunused-value,) 26CFLAGS += $(call cc-option,-Wunused-function -Wunused-value,)
27CFLAGS += $(call cc-option,-Wmissing-prototypes -Wmissing-declarations,) 27CFLAGS += $(call cc-option,-Wmissing-prototypes -Wmissing-declarations,)
28CFLAGS += $(call cc-option,-Wno-format-security,)
28# warn about C99 declaration after statement 29# warn about C99 declaration after statement
29CFLAGS += $(call cc-option,-Wdeclaration-after-statement,) 30CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
30# If you want to add more -Wsomething above, make sure that it is 31# If you want to add more -Wsomething above, make sure that it is
@@ -52,6 +53,9 @@ CFLAGS += $(call cc-option,-fno-builtin-strlen -finline-limit=0 -fomit-frame-poi
52CFLAGS += $(call cc-option,-fno-guess-branch-probability,) 53CFLAGS += $(call cc-option,-fno-guess-branch-probability,)
53CFLAGS += $(call cc-option,-funsigned-char -static-libgcc,) 54CFLAGS += $(call cc-option,-funsigned-char -static-libgcc,)
54CFLAGS += $(call cc-option,-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1,) 55CFLAGS += $(call cc-option,-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1,)
56# Defeat .eh_frame bloat (gcc 4.6.3 x86-32 defconfig: 20% smaller busybox binary):
57CFLAGS += $(call cc-option,-fno-unwind-tables,)
58CFLAGS += $(call cc-option,-fno-asynchronous-unwind-tables,)
55 59
56# FIXME: These warnings are at least partially to be concerned about and should 60# FIXME: These warnings are at least partially to be concerned about and should
57# be fixed.. 61# be fixed..