|
@@ -48,10 +48,6 @@ include $(srctree)/arch/x86/Makefile_32.cpu
|
|
# temporary until string.h is fixed
|
|
# temporary until string.h is fixed
|
|
cflags-y += -ffreestanding
|
|
cflags-y += -ffreestanding
|
|
|
|
|
|
-# this works around some issues with generating unwind tables in older gccs
|
|
|
|
-# newer gccs do it by default
|
|
|
|
-cflags-y += -maccumulate-outgoing-args
|
|
|
|
-
|
|
|
|
# Disable unit-at-a-time mode on pre-gcc-4.0 compilers, it makes gcc use
|
|
# 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:
|
|
# a lot more stack due to the lack of sharing of stacklots:
|
|
KBUILD_CFLAGS += $(shell if [ $(call cc-version) -lt 0400 ] ; then echo $(call cc-option,-fno-unit-at-a-time); fi ;)
|
|
KBUILD_CFLAGS += $(shell if [ $(call cc-version) -lt 0400 ] ; then echo $(call cc-option,-fno-unit-at-a-time); fi ;)
|