X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=cpu%2Fmcf5445x%2Fconfig.mk;h=88433f2f6d6e04494d46b662e528ea5a1547a049;hb=be32bf20bc5bbf3e8cf07085743bbc8f05630812;hp=d0c72fb6b0e88a0bd2f45f3b92f5f254e0a9d684;hpb=b90296fc39a33f84bb2b0aa79bf997be495ba791;p=oweals%2Fu-boot.git diff --git a/cpu/mcf5445x/config.mk b/cpu/mcf5445x/config.mk index d0c72fb6b0..88433f2f6d 100644 --- a/cpu/mcf5445x/config.mk +++ b/cpu/mcf5445x/config.mk @@ -24,4 +24,8 @@ # PLATFORM_RELFLAGS += -ffixed-d7 -msep-data +ifeq ($(findstring 4.2,$(shell $(CC) --version)),4.2) +PLATFORM_CPPFLAGS += -mcpu=54455 -fPIC +else PLATFORM_CPPFLAGS += -m5407 -fPIC +endif