lang/rust-bootstrap: Relax x86 host requirement
This commit is contained in:
parent
3dd789ff4a
commit
a8d8cef02a
1 changed files with 2 additions and 2 deletions
|
@ -124,9 +124,9 @@ do-configure:
|
|||
.endif
|
||||
# https://github.com/rust-lang/rust/pull/72696#issuecomment-641517185
|
||||
@${ECHO_CMD} 'ldflags="-lz"' >> ${WRKSRC}/config.toml
|
||||
# we need to make sure to always build llvm with X86 support to get a
|
||||
# we need to make sure to always build llvm with host arch support to get a
|
||||
# host compiler that can build the host->target compiler
|
||||
@${ECHO_CMD} 'targets="${_RUST_LLVM_TARGET};X86"' >> ${WRKSRC}/config.toml
|
||||
@${ECHO_CMD} 'targets="${_RUST_LLVM_TARGET};${_RUST_LLVM_TARGET_${ARCH}}"' >> ${WRKSRC}/config.toml
|
||||
@${ECHO_CMD} '[target.${_RUST_TARGET}]' >> ${WRKSRC}/config.toml
|
||||
@${ECHO_CMD} 'cc="${LOCALBASE}/freebsd-sysroot/${FLAVOR:S/_/-/g}/bin/cc"' >> ${WRKSRC}/config.toml
|
||||
@${ECHO_CMD} 'cxx="${LOCALBASE}/freebsd-sysroot/${FLAVOR:S/_/-/g}/bin/c++"' >> ${WRKSRC}/config.toml
|
||||
|
|
Loading…
Reference in a new issue