git: b09414d5e3ea - main - lang/rust: allow using the default gcc on powerpc instead of forcing gcc12
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Nov 2022 06:56:48 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=b09414d5e3ea6826b26414c1502dcfd05dcae973 commit b09414d5e3ea6826b26414c1502dcfd05dcae973 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-11-18 06:42:23 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-11-18 06:56:41 +0000 lang/rust: allow using the default gcc on powerpc instead of forcing gcc12 --- lang/rust/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/rust/Makefile b/lang/rust/Makefile index e85d9dd828c3..19b7cc66e748 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -111,8 +111,8 @@ IGNORE= is only for FreeBSD .if ${ARCH} == powerpc # bfd to link rustc_driver; lld currently can't BUILD_DEPENDS+= ld.bfd:devel/binutils -LIB_DEPENDS+= libatomic.so:lang/gcc12 -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}" .else MAKE_ENV+= RUST_BACKTRACE=1 .endif