Skip to content
Commit e79c8385 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

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: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 5c0aebf6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment