X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=Makefile;h=1fdace757e157fdf98177264e529df8113526214;hb=8644d2a42bdba2d513f71c07eaf1b6f9b718b8eb;hp=0d1e74d50067dbce4bd3dc9bcbd7954460b5da61;hpb=8ba08378b479f472b37b83542c31bdad465033cf;p=powerpc.git diff --git a/Makefile b/Makefile index 0d1e74d500..1fdace757e 100644 --- a/Makefile +++ b/Makefile @@ -281,7 +281,7 @@ export quiet Q KBUILD_VERBOSE # See documentation in Documentation/kbuild/makefiles.txt # cc-option -# Usage: cflags-y += $(call gcc-option, -march=winchip-c6, -march=i586) +# Usage: cflags-y += $(call cc-option, -march=winchip-c6, -march=i586) cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;) @@ -518,7 +518,7 @@ 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 +CFLAGS += -fno-omit-frame-pointer $(call cc-option,-fno-optimize-sibling-calls,) else CFLAGS += -fomit-frame-pointer endif