Skip to content

Commit

Permalink
[XTENSA] Add freestanding option to CFLAGS
Browse files Browse the repository at this point in the history
We also need to set the freestanding option for GCC in the CFLAGS.

Signed-off-by: Chris Zankel <chris@zankel.net>
  • Loading branch information
Chris Zankel committed Aug 27, 2007
1 parent cef9287 commit b2444d3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion arch/xtensa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b2444d3

Please sign in to comment.