public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] Makefile: use -fno-optimize-sibling-calls unconditionally
@ 2007-07-13  4:18 Adrian Bunk
  2007-07-17 12:34 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-07-13  4:18 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: linux-kernel

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

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-17 12:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-13  4:18 [2.6 patch] Makefile: use -fno-optimize-sibling-calls unconditionally Adrian Bunk
2007-07-17 12:34 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox