Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2022 06:56:48 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b09414d5e3ea - main - lang/rust: allow using the default gcc on powerpc instead of forcing gcc12
Message-ID:  <202211180656.2AI6umMV049184@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211180656.2AI6umMV049184>