diff options
Diffstat (limited to 'arch/powerpc/config.mk')
-rw-r--r-- | arch/powerpc/config.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/config.mk b/arch/powerpc/config.mk index 6b44a3709a4..b0ed374563a 100644 --- a/arch/powerpc/config.mk +++ b/arch/powerpc/config.mk @@ -41,7 +41,8 @@ archprepare: checkgcc4 # that U-Boot wants. # See http://lists.denx.de/pipermail/u-boot/2012-September/135156.html checkgcc4: - @if test $(call cc-version) -lt 0400; then \ + @if test "$(call cc-name)" = "gcc" -a \ + $(call cc-version) -lt 0400; then \ echo -n '*** Your GCC is too old, please upgrade to GCC 4.x or newer'; \ false; \ fi |