mirror of
https://github.com/opnsense/src.git
synced 2026-05-19 16:35:42 -04:00
Fix build. Both clang and gcc are required on pc98.
X-MFC with: r256915
This commit is contained in:
parent
6f1dba186e
commit
3d2fb95abf
1 changed files with 6 additions and 1 deletions
|
|
@ -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 a new issue