summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/Makefile
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2012-09-17 03:44:51 +0200
committerChris Zankel <chris@zankel.net>2012-10-04 00:12:33 +0200
commita753cd9abf389ce8fea79e7f30640926356778d3 (patch)
tree6d2387d0ac7e0dd2bc620477ad609e6c314a500d /arch/xtensa/Makefile
parentxtensa: fix parallel make (diff)
downloadlinux-a753cd9abf389ce8fea79e7f30640926356778d3.tar.xz
linux-a753cd9abf389ce8fea79e7f30640926356778d3.zip
xtensa: fix CODA build
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/Makefile')
-rw-r--r--arch/xtensa/Makefile2
1 files changed, 1 insertions, 1 deletions
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