ColdFire: Add -got=single param for new linux v4e toolchains
Signed-off-by: Kurt Mahan <kmahan@freescale.com>
This commit is contained in:
parent
56d52615cd
commit
8371dc2066
@ -29,3 +29,9 @@ PLATFORM_CPPFLAGS += -mcpu=54455 -fPIC
|
||||
else
|
||||
PLATFORM_CPPFLAGS += -m5407 -fPIC
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring -linux-,$(shell $(CC) --version)))
|
||||
ifneq (,$(findstring GOT,$(shell $(LD) --help)))
|
||||
PLATFORM_LDFLAGS += --got=single
|
||||
endif
|
||||
endif
|
||||
|
@ -29,3 +29,9 @@ PLATFORM_CPPFLAGS += -mcpu=5485 -fPIC
|
||||
else
|
||||
PLATFORM_CPPFLAGS += -m5407 -fPIC
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring -linux-,$(shell $(CC) --version)))
|
||||
ifneq (,$(findstring GOT,$(shell $(LD) --help)))
|
||||
PLATFORM_LDFLAGS += --got=single
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user