Skip to content

Commit b09414d

Browse files
committed
lang/rust: allow using the default gcc on powerpc instead of forcing gcc12
1 parent 6255d2d commit b09414d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎lang/rust/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ IGNORE= is only for FreeBSD
111111
.if ${ARCH} == powerpc
112112
# bfd to link rustc_driver; lld currently can't
113113
BUILD_DEPENDS+= ld.bfd:devel/binutils
114-
LIB_DEPENDS+= libatomic.so:lang/gcc12
115-
MAKE_ENV+= RUSTFLAGS="-L/usr/local/lib/gcc12"
114+
LIB_DEPENDS+= libatomic.so:lang/gcc${GCC_DEFAULT}
115+
MAKE_ENV+= RUSTFLAGS="-L/usr/local/lib/gcc${GCC_DEFAULT}"
116116
.else
117117
MAKE_ENV+= RUST_BACKTRACE=1
118118
.endif

0 commit comments

Comments
 (0)