Merge git://git.denx.de/u-boot into u-boot
[oweals/u-boot.git] / cpu / mcf5445x / config.mk
index 88433f2f6d6e04494d46b662e528ea5a1547a049..67efa07af75b80641f2c7ae0024682853d0a20ac 100644 (file)
@@ -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