From 541e5a092be8c2e1a9b6d6bbabfebd16841852e4 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Sat, 14 Jan 2006 13:21:29 -0800 Subject: [PATCH] --- yaml --- r: 18533 b: refs/heads/master c: 9ab34fe76114b9538bfcaf3a9d112dee0feb5f17 h: refs/heads/master i: 18531: dbf748404982dfb85f16f355ef6bb7adedc38658 v: v3 --- [refs] | 2 +- trunk/arch/i386/Makefile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index e1831344ff4a..1b4e1641b991 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 40fc55cb69c0386504ab5184e9bea0a7aecb2bd3 +refs/heads/master: 9ab34fe76114b9538bfcaf3a9d112dee0feb5f17 diff --git a/trunk/arch/i386/Makefile b/trunk/arch/i386/Makefile index d3c0409d201c..bd2d53a9dd2b 100644 --- a/trunk/arch/i386/Makefile +++ b/trunk/arch/i386/Makefile @@ -42,9 +42,9 @@ include $(srctree)/arch/i386/Makefile.cpu cflags-$(CONFIG_REGPARM) += $(shell if [ $(call cc-version) -ge 0300 ] ; then \ echo "-mregparm=3"; fi ;) -# Disable unit-at-a-time mode, it makes gcc use a lot more stack -# due to the lack of sharing of stacklots. -CFLAGS += $(call cc-option,-fno-unit-at-a-time) +# Disable unit-at-a-time mode on pre-gcc-4.0 compilers, it makes gcc use +# a lot more stack due to the lack of sharing of stacklots: +CFLAGS += $(shell if [ $(call cc-version) -lt 0400 ] ; then echo $(call cc-option,-fno-unit-at-a-time); fi ;) CFLAGS += $(cflags-y)