svn commit: r494349 - head/Mk/Uses

Tobias Kortkamp tobik at FreeBSD.org
Sat Mar 2 00:35:34 UTC 2019


Author: tobik
Date: Sat Mar  2 00:35:33 2019
New Revision: 494349
URL: https://svnweb.freebsd.org/changeset/ports/494349

Log:
  Mk/Uses/cargo.mk: Require ports gcc on powerpc64 same as lang/rust
  
  PR:		235063

Modified:
  head/Mk/Uses/cargo.mk

Modified: head/Mk/Uses/cargo.mk
==============================================================================
--- head/Mk/Uses/cargo.mk	Sat Mar  2 00:30:44 2019	(r494348)
+++ head/Mk/Uses/cargo.mk	Sat Mar  2 00:35:33 2019	(r494349)
@@ -74,6 +74,10 @@ RUSTFLAGS+=	${CFLAGS:M-march=*:S/-march=/-C target-cpu
 RUSTFLAGS+=	${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/}
 .endif
 
+.if ${ARCH} == powerpc64
+USE_GCC?=	yes
+.endif
+
 # Helper to shorten cargo calls.
 CARGO_CARGO_RUN= \
 	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CARGO_ENV} \


More information about the svn-ports-all mailing list