diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-03-07 23:58:36 -0800 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-03-12 23:35:17 +0100 |
commit | 8cab77a2f851363e35089b9720373b964f64550e (patch) | |
tree | fdb88e137cc2a1b6a62fd92eeae6d35f3c882b3e /Makefile | |
parent | 7d1859835cd6c0afd1773d249300da82b1b868a5 (diff) | |
download | op-kernel-dev-8cab77a2f851363e35089b9720373b964f64550e.zip op-kernel-dev-8cab77a2f851363e35089b9720373b964f64550e.tar.gz |
Kconfig: remove the CONFIG_CC_ALIGN_* options
I don't see any use case for the CONFIG_CC_ALIGN_* options:
- they are only available if EMBEDDED
- people using EMBEDDED will most likely also enable
CC_OPTIMIZE_FOR_SIZE
- the default for -Os is to disable alignment
In case someone is doing performance comparisons and discovers that the
default settings gcc chooses aren't good, the only sane thing is to discuss
whether it makes sense to change this, not through offering options to change
this locally.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -472,13 +472,6 @@ else CFLAGS += -O2 endif -#Add align options if CONFIG_CC_* is not equal to 0 -add-align = $(if $(filter-out 0,$($(1))),$(cc-option-align)$(2)=$($(1))) -CFLAGS += $(call add-align,CONFIG_CC_ALIGN_FUNCTIONS,-functions) -CFLAGS += $(call add-align,CONFIG_CC_ALIGN_LABELS,-labels) -CFLAGS += $(call add-align,CONFIG_CC_ALIGN_LOOPS,-loops) -CFLAGS += $(call add-align,CONFIG_CC_ALIGN_JUMPS,-jumps) - ifdef CONFIG_FRAME_POINTER CFLAGS += -fno-omit-frame-pointer $(call cc-option,-fno-optimize-sibling-calls,) else |