There was an error while loading. Please reload this page.
1 parent 6255d2d commit b09414dCopy full SHA for b09414d
lang/rust/Makefile
@@ -111,8 +111,8 @@ IGNORE= is only for FreeBSD
111
.if ${ARCH} == powerpc
112
# bfd to link rustc_driver; lld currently can't
113
BUILD_DEPENDS+= ld.bfd:devel/binutils
114
-LIB_DEPENDS+= libatomic.so:lang/gcc12
115
-MAKE_ENV+= RUSTFLAGS="-L/usr/local/lib/gcc12"
+LIB_DEPENDS+= libatomic.so:lang/gcc${GCC_DEFAULT}
+MAKE_ENV+= RUSTFLAGS="-L/usr/local/lib/gcc${GCC_DEFAULT}"
116
.else
117
MAKE_ENV+= RUST_BACKTRACE=1
118
.endif
0 commit comments