X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fxtensa%2FMakefile;h=56685a88334747ef1467cac388345f5b9bf20339;hb=57c351de715458f8fbee1e92e8cc65ddc00da04c;hp=95f836db38fa3129cd10f2574c2c8cdf1000df79;hpb=edb16bec41db68b22799a5fbad82c3891e637565;p=linux-2.6 diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile index 95f836db38..56685a8833 100644 --- a/arch/xtensa/Makefile +++ b/arch/xtensa/Makefile @@ -27,7 +27,10 @@ platform-$(CONFIG_XTENSA_PLATFORM_ISS) := iss PLATFORM = $(platform-y) export PLATFORM -CFLAGS += -pipe -mlongcalls +# temporarily until string.h is fixed +KBUILD_CFLAGS += -ffreestanding + +KBUILD_CFLAGS += -pipe -mlongcalls KBUILD_DEFCONFIG := iss_defconfig @@ -51,7 +54,7 @@ endif # -LIBGCC := $(shell $(CC) $(CFLAGS) -print-libgcc-file-name) +LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name) head-y := arch/xtensa/kernel/head.o core-y += arch/xtensa/kernel/ arch/xtensa/mm/