powerpc: Don't do gcc version checks if we're building with clang
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 21 Apr 2015 12:26:57 +0000 (22:26 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 May 2015 09:56:40 +0000 (19:56 +1000)
commite79c8385c878abdf90290cba6bea08fd60058562
treea1ef23151a7c2485b457c5a545a055b7e6dee20a
parent5c0aebf6e101e9ea6ddea7aaba13582c89206333
powerpc: Don't do gcc version checks if we're building with clang

We have several checks for bad gcc versions in our Makefile. These don't
apply if we're building with clang, so skip them in that case.

The obvious check would be for ${COMPILER} = "gcc", but because of the
way the logic in the top level Makefile conditionally sets COMPILER,
it's possible that we're building with gcc but COMPILER was not set.

So instead check for ${COMPILER} != "clang", which we know is currently
the only other possibility.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Makefile
This page took 0.025755 seconds and 5 git commands to generate.