diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 8d544c7c9fe9..3d5626ee0a5c 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -14,8 +14,6 @@ | |||
14 | 14 | ||
15 | KBUILD_DEFCONFIG := ip22_defconfig | 15 | KBUILD_DEFCONFIG := ip22_defconfig |
16 | 16 | ||
17 | cflags-y := -ffunction-sections | ||
18 | |||
19 | # | 17 | # |
20 | # Select the object file format to substitute into the linker script. | 18 | # Select the object file format to substitute into the linker script. |
21 | # | 19 | # |
@@ -50,6 +48,8 @@ ifneq ($(SUBARCH),$(ARCH)) | |||
50 | endif | 48 | endif |
51 | endif | 49 | endif |
52 | 50 | ||
51 | cflags-y := -ffunction-sections | ||
52 | |||
53 | ifdef CONFIG_32BIT | 53 | ifdef CONFIG_32BIT |
54 | ld-emul = $(32bit-emul) | 54 | ld-emul = $(32bit-emul) |
55 | vmlinux-32 = vmlinux | 55 | vmlinux-32 = vmlinux |