From bf451668b79bc1c4f9298ee1d19fa330d9158950 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Wed, 30 Jan 2008 13:32:21 +0100 Subject: [PATCH] --- yaml --- r: 80123 b: refs/heads/master c: 25dfeeb757bdf06521d65973676b21dac1d26d20 h: refs/heads/master i: 80121: 8746a9f04016302981c3730dffdab315db68affb 80119: d2b9067db55b71f3ccb1d36c1b4adba39f5a2b23 v: v3 --- [refs] | 2 +- trunk/arch/x86/Makefile | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index feab9d2f32a4..8897b63e8dc1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0a6ef376d4baf298aaa2db71794df821a0d7795c +refs/heads/master: 25dfeeb757bdf06521d65973676b21dac1d26d20 diff --git a/trunk/arch/x86/Makefile b/trunk/arch/x86/Makefile index d3debde0ce0b..0c5b4072d134 100644 --- a/trunk/arch/x86/Makefile +++ b/trunk/arch/x86/Makefile @@ -64,14 +64,10 @@ else KBUILD_CFLAGS += -mno-red-zone KBUILD_CFLAGS += -mcmodel=kernel - KBUILD_CFLAGS += -Wno-sign-compare - KBUILD_CFLAGS += -fno-asynchronous-unwind-tables # -funit-at-a-time shrinks the kernel .text considerably # unfortunately it makes reading oopses harder. KBUILD_CFLAGS += $(call cc-option,-funit-at-a-time) - # prevent gcc from generating any FP code by mistake - KBUILD_CFLAGS += $(call cc-option,-mno-sse -mno-mmx -mno-sse2 -mno-3dnow,) # this works around some issues with generating unwind tables in older gccs # newer gccs do it by default KBUILD_CFLAGS += -maccumulate-outgoing-args @@ -98,7 +94,15 @@ KBUILD_CFLAGS += $(cfi) $(cfi-sigframe) LDFLAGS := -m elf_$(UTS_MACHINE) OBJCOPYFLAGS := -O binary -R .note -R .comment -S + +# Speed up the build KBUILD_CFLAGS += -pipe +# Workaround for a gcc prelease that unfortunately was shipped in a suse release +KBUILD_CFLAGS += -Wno-sign-compare +# +KBUILD_CFLAGS += -fno-asynchronous-unwind-tables +# prevent gcc from generating any FP code by mistake +KBUILD_CFLAGS += $(call cc-option,-mno-sse -mno-mmx -mno-sse2 -mno-3dnow,) ### # Sub architecture support