summaryrefslogtreecommitdiff
path: root/arch/xtensa
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile
index f973754ddf9..b201d448609 100644
--- a/arch/xtensa/Makefile
+++ b/arch/xtensa/Makefile
@@ -31,7 +31,7 @@ PLATFORM = $(platform-y)
export PLATFORM
# temporarily until string.h is fixed
-KBUILD_CFLAGS += -ffreestanding
+KBUILD_CFLAGS += -ffreestanding -D__linux__
KBUILD_CFLAGS += -pipe -mlongcalls