summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/Makefile
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2007-08-04 18:23:54 +0200
committerChris Zankel <chris@zankel.net>2007-08-27 22:53:07 +0200
commitb2444d34a0e727a80fee4b725bc5ecb9d0f206f0 (patch)
tree429e7aae66994d1677668af48a78d4fa73aca16b /arch/xtensa/Makefile
parent[XTENSA] Add getpgrp system-call to unistd.h (diff)
downloadlinux-b2444d34a0e727a80fee4b725bc5ecb9d0f206f0.tar.xz
linux-b2444d34a0e727a80fee4b725bc5ecb9d0f206f0.zip
[XTENSA] Add freestanding option to CFLAGS
We also need to set the freestanding option for GCC in the CFLAGS. Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/Makefile')
-rw-r--r--arch/xtensa/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile
index 95f836db38fa..acf05be24929 100644
--- a/arch/xtensa/Makefile
+++ b/arch/xtensa/Makefile
@@ -27,7 +27,12 @@ platform-$(CONFIG_XTENSA_PLATFORM_ISS) := iss
PLATFORM = $(platform-y)
export PLATFORM
-CFLAGS += -pipe -mlongcalls
+# temporarily until string.h is fixed
+cflags-y += -ffreestanding
+
+cflags-y += -pipe -mlongcalls
+
+CFLAGS += $(cflags-y)
KBUILD_DEFCONFIG := iss_defconfig