Skip to content

Commit

Permalink
lang/rust: switch back to base LLVM on powerpc
Browse files Browse the repository at this point in the history
Base LLVM in 13.1 now can build Rust.
  • Loading branch information
pkubaj committed Mar 29, 2022
1 parent 9482644 commit 7686fc0
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions lang/rust/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,7 @@ IGNORE= is only for FreeBSD

.if ${ARCH} == powerpc
# bfd to link rustc_driver; lld currently can't
BUILD_DEPENDS+= ld.bfd:devel/binutils \
clang12:devel/llvm12
BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp12 \
cc=${LOCALBASE}/bin/clang12 \
c++=${LOCALBASE}/bin/clang++12 \
ar=${LOCALBASE}/bin/llvm-ar12 \
nm=${LOCALBASE}/bin/llvm-nm12 \
ld=${LOCALBASE}/bin/ld.lld12
BUILD_DEPENDS+= ld.bfd:devel/binutils
.else
MAKE_ENV+= RUST_BACKTRACE=1
# rls needs 64-bit atomics
Expand Down

0 comments on commit 7686fc0

Please sign in to comment.