[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>
diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile
index 95f836d..acf05be 100644
--- a/arch/xtensa/Makefile
+++ b/arch/xtensa/Makefile
@@ -27,7 +27,12 @@
 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