Преглед изворни кода

Blackfin: move "-m elf32bfin" to general LDFLAGS

Common code now invokes the linker directly which causes build failures
when using an FDPIC toolchain.  So move the emulation setting out of the
module-specific LDFLAGS and into the common LDFLAGS.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger пре 14 година
родитељ
комит
874f6cfd3a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      arch/blackfin/Makefile

+ 1 - 1
arch/blackfin/Makefile

@@ -19,7 +19,7 @@ KBUILD_CFLAGS           += -mlong-calls
 endif
 KBUILD_AFLAGS           += $(call cc-option,-mno-fdpic)
 KBUILD_CFLAGS_MODULE    += -mlong-calls
-KBUILD_LDFLAGS_MODULE   += -m elf32bfin
+LDFLAGS                 += -m elf32bfin
 KALLSYMS         += --symbol-prefix=_
 
 KBUILD_DEFCONFIG := BF537-STAMP_defconfig