ColdFire: PLATFORM_CPPFLAGS updates for new compiler
[oweals/u-boot.git] / cpu / mcf5445x / config.mk
index 67efa07af75b80641f2c7ae0024682853d0a20ac..b0b49f7b2623a5b6235b71b8604ac6d202dca01a 100644 (file)
@@ -24,7 +24,7 @@
 #
 
 PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
-ifeq ($(findstring 4.2,$(shell $(CC) --version)),4.2)
+ifneq ($(findstring 4.1,$(shell $(CC) --version)),4.1)
 PLATFORM_CPPFLAGS += -mcpu=54455 -fPIC
 else
 PLATFORM_CPPFLAGS += -m5407 -fPIC