From: Max Filippov Date: Mon, 17 Sep 2012 01:44:51 +0000 (+0400) Subject: xtensa: fix CODA build X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a753cd9abf389ce8fea79e7f30640926356778d3;p=openwrt%2Fstaging%2Fblogic.git xtensa: fix CODA build Signed-off-by: Max Filippov Signed-off-by: Chris Zankel --- diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile index f973754ddf90..b201d4486098 100644 --- a/arch/xtensa/Makefile +++ b/arch/xtensa/Makefile @@ -31,7 +31,7 @@ PLATFORM = $(platform-y) export PLATFORM # temporarily until string.h is fixed -KBUILD_CFLAGS += -ffreestanding +KBUILD_CFLAGS += -ffreestanding -D__linux__ KBUILD_CFLAGS += -pipe -mlongcalls