]> git.sur5r.net Git - u-boot/blobdiff - cpu/mcf547x_8x/config.mk
ColdFire: Get information from the correct GCC
[u-boot] / cpu / mcf547x_8x / config.mk
index e5f4385dd35f7ea23099a97f3f9bcd7d33b0140e..eb6b50b2127106dfb89fb998daa0b5260e7d99bd 100644 (file)
@@ -24,7 +24,7 @@
 #
 
 PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
-ifeq ($(findstring 4.2,$(shell $(CC) --version)),4.2)
+ifeq ($(findstring 4.2,$(shell $(CROSS_COMPILE)gcc --version)),4.2)
 PLATFORM_CPPFLAGS += -mcpu=5485 -fPIC
 else
 PLATFORM_CPPFLAGS += -m5407 -fPIC