Commit 426a027f authored by thoughtpolice's avatar thoughtpolice

Distinguish between llvm-gcc/gcc in compiler name detection.

It uglifies the code a tiny bit but it's nice to know exactly what
you're using.
Signed-off-by: thoughtpolice's avatarAustin Seipp <aseipp@pobox.com>
parent 1affe46d
......@@ -986,14 +986,18 @@ echo ["\
"]
fi
if test "$CC_CLANG_BACKEND" = "1"; then
CNAME="clang "
if test "x$CC_LLVM_BACKEND" = "x1"; then
if test "x$CC_CLANG_BACKEND" = "x1"; then
CompilerName="clang "
else
CompilerName="llvm-gcc "
fi
else
CNAME="gcc "
CompilerName="gcc "
fi
echo ["\
Using $CNAME : $WhatGccIsCalled
Using $CompilerName : $WhatGccIsCalled
which is version : $GccVersion
Building a cross compiler : $CrossCompiling
......
Markdown is supported
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