Merge branch 'for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
[sfrench/cifs-2.6.git] / arch / m68k / Makefile
index f00ca53f8c1417e7699eec4135b632cced5c47a0..482513b9af2c5dde54d28e19df519886b56b4fca 100644 (file)
@@ -58,7 +58,10 @@ cpuflags-$(CONFIG_M5206e)    := $(call cc-option,-mcpu=5206e,-m5200)
 cpuflags-$(CONFIG_M5206)       := $(call cc-option,-mcpu=5206,-m5200)
 
 KBUILD_AFLAGS += $(cpuflags-y)
-KBUILD_CFLAGS += $(cpuflags-y) -pipe
+KBUILD_CFLAGS += $(cpuflags-y)
+
+KBUILD_CFLAGS += -pipe -ffreestanding
+
 ifdef CONFIG_MMU
 # without -fno-strength-reduce the 53c7xx.c driver fails ;-(
 KBUILD_CFLAGS += -fno-strength-reduce -ffixed-a2