diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-03-02 00:35:33 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2019-03-02 00:35:33 +0000 |
commit | 297275401f4bb5879e604308f9fc919d39606974 (patch) | |
tree | feae80815633aed334842806e4156b9854e973bb /Mk/Uses/cargo.mk | |
parent | New port: textproc/gron: (diff) |
Mk/Uses/cargo.mk: Require ports gcc on powerpc64 same as lang/rust
PR: 235063
Notes
Notes:
svn path=/head/; revision=494349
Diffstat (limited to 'Mk/Uses/cargo.mk')
-rw-r--r-- | Mk/Uses/cargo.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk index a77c85418cbe..584d110d50fb 100644 --- a/Mk/Uses/cargo.mk +++ b/Mk/Uses/cargo.mk @@ -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} \ |