Skip to content

Commit

Permalink
lang/rust-bootstrap: Relax x86 host requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Kortkamp authored and Tobias Kortkamp committed Nov 13, 2021
1 parent 3dd789f commit a8d8cef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lang/rust-bootstrap/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit a8d8cef

Please sign in to comment.