diff options
author | Chris Zankel <chris@zankel.net> | 2007-08-04 12:23:54 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2007-08-27 16:53:07 -0400 |
commit | b2444d34a0e727a80fee4b725bc5ecb9d0f206f0 (patch) | |
tree | 429e7aae66994d1677668af48a78d4fa73aca16b /arch | |
parent | cef9287ead2775e4d7eaa280a73ee99d7269c3e4 (diff) |
[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')
-rw-r--r-- | arch/xtensa/Makefile | 7 |
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 | |||
27 | PLATFORM = $(platform-y) | 27 | PLATFORM = $(platform-y) |
28 | export PLATFORM | 28 | export PLATFORM |
29 | 29 | ||
30 | CFLAGS += -pipe -mlongcalls | 30 | # temporarily until string.h is fixed |
31 | cflags-y += -ffreestanding | ||
32 | |||
33 | cflags-y += -pipe -mlongcalls | ||
34 | |||
35 | CFLAGS += $(cflags-y) | ||
31 | 36 | ||
32 | KBUILD_DEFCONFIG := iss_defconfig | 37 | KBUILD_DEFCONFIG := iss_defconfig |
33 | 38 | ||