diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -472,13 +472,6 @@ else | |||
472 | CFLAGS += -O2 | 472 | CFLAGS += -O2 |
473 | endif | 473 | endif |
474 | 474 | ||
475 | #Add align options if CONFIG_CC_* is not equal to 0 | ||
476 | add-align = $(if $(filter-out 0,$($(1))),$(cc-option-align)$(2)=$($(1))) | ||
477 | CFLAGS += $(call add-align,CONFIG_CC_ALIGN_FUNCTIONS,-functions) | ||
478 | CFLAGS += $(call add-align,CONFIG_CC_ALIGN_LABELS,-labels) | ||
479 | CFLAGS += $(call add-align,CONFIG_CC_ALIGN_LOOPS,-loops) | ||
480 | CFLAGS += $(call add-align,CONFIG_CC_ALIGN_JUMPS,-jumps) | ||
481 | |||
482 | ifdef CONFIG_FRAME_POINTER | 475 | ifdef CONFIG_FRAME_POINTER |
483 | CFLAGS += -fno-omit-frame-pointer $(call cc-option,-fno-optimize-sibling-calls,) | 476 | CFLAGS += -fno-omit-frame-pointer $(call cc-option,-fno-optimize-sibling-calls,) |
484 | else | 477 | else |