summaryrefslogtreecommitdiff
path: root/cpu/mcf5445x/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/mcf5445x/config.mk')
-rw-r--r--cpu/mcf5445x/config.mk6
1 files changed, 6 insertions, 0 deletions
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 @@ 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