[2.6 patch] Makefile: use -fno-optimize-sibling-callsunconditionally

From: Adrian Bunk
Date: Fri Jul 13 2007 - 00:18:23 EST


We don't have to check for -fno-optimize-sibling-calls since even
gcc 3.2 supports it.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---
--- linux-2.6.22-rc6-mm1/Makefile.old 2007-07-13 06:01:20.000000000 +0200
+++ linux-2.6.22-rc6-mm1/Makefile 2007-07-13 06:01:44.000000000 +0200
@@ -493,7 +493,7 @@
include $(srctree)/arch/$(ARCH)/Makefile

ifdef CONFIG_FRAME_POINTER
-CFLAGS += -fno-omit-frame-pointer $(call cc-option,-fno-optimize-sibling-calls,)
+CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls
else
CFLAGS += -fomit-frame-pointer
endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/