summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2012-09-17 05:44:51 +0400
committerChris Zankel <chris@zankel.net>2012-10-03 15:12:33 -0700
commita753cd9abf389ce8fea79e7f30640926356778d3 (patch)
tree6d2387d0ac7e0dd2bc620477ad609e6c314a500d /arch
parent7c94fe4a012e6d0858b9a80cbc18b7ee788f572d (diff)
downloadblackbird-op-linux-a753cd9abf389ce8fea79e7f30640926356778d3.tar.gz
blackbird-op-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')
-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
OpenPOWER on IntegriCloud