mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 07:37:25 -04:00
Enable external compiler logic if both bootstrap compilers are disabled.
Reviewed by: brooks Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D6358
This commit is contained in:
parent
95a83d05a3
commit
76286f4bc5
1 changed files with 2 additions and 1 deletions
|
|
@ -460,7 +460,8 @@ BFLAGS+= -B${CROSS_BINUTILS_PREFIX}
|
|||
.endif
|
||||
|
||||
# External compiler needs sysroot and target flags.
|
||||
.if ${MK_CROSS_COMPILER} == "no"
|
||||
.if ${MK_CROSS_COMPILER} == "no" || \
|
||||
(${MK_CLANG_BOOTSTRAP} == "no" && ${MK_GCC_BOOTSTRAP} == "no")
|
||||
.if !defined(CROSS_BINUTILS_PREFIX) || !exists(${CROSS_BINUTILS_PREFIX})
|
||||
BFLAGS+= -B${WORLDTMP}/usr/bin
|
||||
.endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue