Don't reset CC away from full-pathed gcc.

This was breaking the build when using CROSS_TOOLCHAIN=powerpc64-gcc

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2016-03-24 21:48:10 +00:00
parent 37a8c977c4
commit de0fbc4dbc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297249

View File

@ -13,8 +13,11 @@ CFLAGS+= -I${.CURDIR}/../common \
# clang doesn't support -mlongcall, and testing shows a clang linked with a
# clang-built csu segfaults, this must currently be compiled with gcc. Once
# clang supports -mlongcall, or we get a fixed ld, this can be revisited.
.include <bsd.compiler.mk>
.if ${COMPILER_TYPE} != "gcc"
CC:= gcc
COMPILER_TYPE:= gcc
.endif
FILES= ${OBJS}
FILESMODE= ${LIBMODE}