1
0
Fork 0

[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>
hifive-unleashed-5.1
Chris Zankel 2007-08-04 09:23:54 -07:00
parent cef9287ead
commit b2444d34a0
1 changed files with 6 additions and 1 deletions

View File

@ -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