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:
parent
37a8c977c4
commit
de0fbc4dbc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297249
@ -13,8 +13,11 @@ CFLAGS+= -I${.CURDIR}/../common \
|
|||||||
# clang doesn't support -mlongcall, and testing shows a clang linked with a
|
# 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-built csu segfaults, this must currently be compiled with gcc. Once
|
||||||
# clang supports -mlongcall, or we get a fixed ld, this can be revisited.
|
# clang supports -mlongcall, or we get a fixed ld, this can be revisited.
|
||||||
|
.include <bsd.compiler.mk>
|
||||||
|
.if ${COMPILER_TYPE} != "gcc"
|
||||||
CC:= gcc
|
CC:= gcc
|
||||||
COMPILER_TYPE:= gcc
|
COMPILER_TYPE:= gcc
|
||||||
|
.endif
|
||||||
|
|
||||||
FILES= ${OBJS}
|
FILES= ${OBJS}
|
||||||
FILESMODE= ${LIBMODE}
|
FILESMODE= ${LIBMODE}
|
||||||
|
Loading…
Reference in New Issue
Block a user