mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
Blackfin: build with -mno-fdpic
Use the -mno-fdpic flag so that any Blackfin toolchain can be used to build up u-boot, including ones that output FDPIC ELF by default. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
70e95589a2
commit
4148e02aba
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
CONFIG_BFIN_CPU := $(strip $(subst ",,$(CONFIG_BFIN_CPU)))
|
||||
CONFIG_BFIN_BOOT_MODE := $(strip $(subst ",,$(CONFIG_BFIN_BOOT_MODE)))
|
||||
|
||||
PLATFORM_RELFLAGS += -ffixed-P5 -fomit-frame-pointer
|
||||
PLATFORM_RELFLAGS += -ffixed-P5 -fomit-frame-pointer -mno-fdpic
|
||||
PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN
|
||||
|
||||
LDFLAGS += --gc-sections
|
||||
|
|
Loading…
Reference in a new issue