Fix build. Both clang and gcc are required on pc98.
X-MFC with: r256915
This commit is contained in:
parent
ab536a69b4
commit
3a33e2248b
@ -1388,12 +1388,17 @@ _binutils= gnu/usr.bin/binutils
|
||||
# If an full path to an external cross compiler is given, don't build
|
||||
# a cross compiler.
|
||||
.if ${XCC:M/*} == "" && ${MK_CROSS_COMPILER} != "no"
|
||||
.if (${MK_CLANG_IS_CC} != "no" || ${CC:T:Mclang} == "clang") && ${TARGET} != "pc98"
|
||||
.if ${MK_CLANG_IS_CC} != "no" || ${CC:T:Mclang} == "clang"
|
||||
_clang= usr.bin/clang
|
||||
_clang_libs= lib/clang
|
||||
.else
|
||||
_cc= gnu/usr.bin/cc
|
||||
.endif
|
||||
|
||||
# The boot2 for pc98 requires gcc.
|
||||
.if ${TARGET} == "pc98"
|
||||
_cc= gnu/usr.bin/cc
|
||||
.endif
|
||||
.endif
|
||||
|
||||
cross-tools: .MAKE
|
||||
|
Loading…
Reference in New Issue
Block a user