commit | dcc2eb33056357f7e6e875caf10775ff3f1dc346 | [log] [tgz] |
---|---|---|
author | TsiChung Liew <Tsi-Chung.Liew@freescale.com> | Wed Jun 18 19:05:23 2008 -0500 |
committer | John Rigby <jrigby@freescale.com> | Fri Jul 11 10:45:57 2008 -0600 |
tree | 02403b4543986392c755b8b9acf80e861782b1a8 | |
parent | 3ac6b0078109c7efa54d7180718688df65a06bc0 [diff] |
ColdFire: Add -got=single param for new linux v4e toolchains Signed-off-by: Kurt Mahan <kmahan@freescale.com>
diff --git a/cpu/mcf5445x/config.mk b/cpu/mcf5445x/config.mk index 88433f2..67efa07 100644 --- a/cpu/mcf5445x/config.mk +++ b/cpu/mcf5445x/config.mk
@@ -29,3 +29,9 @@ else PLATFORM_CPPFLAGS += -m5407 -fPIC endif + +ifneq (,$(findstring -linux-,$(shell $(CC) --version))) +ifneq (,$(findstring GOT,$(shell $(LD) --help))) +PLATFORM_LDFLAGS += --got=single +endif +endif