提交 05e41404 编写于 作者: R Ralf Baechle

MIPS: Set compiler options only after the compiler prefix has ben set.

Otherwise indigestable options might be passed to the host compiler.
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 165533c3
......@@ -14,8 +14,6 @@
KBUILD_DEFCONFIG := ip22_defconfig
cflags-y := -ffunction-sections
#
# Select the object file format to substitute into the linker script.
#
......@@ -50,6 +48,8 @@ ifneq ($(SUBARCH),$(ARCH))
endif
endif
cflags-y := -ffunction-sections
ifdef CONFIG_32BIT
ld-emul = $(32bit-emul)
vmlinux-32 = vmlinux
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册