Commit b2444d34 authored by Chris Zankel's avatar Chris Zankel

[XTENSA] Add freestanding option to CFLAGS

We also need to set the freestanding option for GCC in the CFLAGS.
Signed-off-by: default avatarChris Zankel <chris@zankel.net>
parent cef9287e
...@@ -27,7 +27,12 @@ platform-$(CONFIG_XTENSA_PLATFORM_ISS) := iss ...@@ -27,7 +27,12 @@ platform-$(CONFIG_XTENSA_PLATFORM_ISS) := iss
PLATFORM = $(platform-y) PLATFORM = $(platform-y)
export PLATFORM 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 KBUILD_DEFCONFIG := iss_defconfig
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment