summaryrefslogtreecommitdiff
path: root/Mk/Uses/cargo.mk
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2024-01-02 14:36:49 +0100
committerPiotr Kubaj <pkubaj@FreeBSD.org>2024-01-03 15:09:31 +0100
commit96118b60cdc3ff0b8e9b310fe72a2caa43d8b0a5 (patch)
tree0199a16d865de580d3bd937a078f9147b7830096 /Mk/Uses/cargo.mk
parentwww/gitlab-ce: add new ports required for 16.7 (diff)
Mk/Uses/cargo.mk: remove ELFv1 support
Diffstat (limited to 'Mk/Uses/cargo.mk')
-rw-r--r--Mk/Uses/cargo.mk5
1 files changed, 0 insertions, 5 deletions
diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk
index a82badd3464f..b0c900dda8ca 100644
--- a/Mk/Uses/cargo.mk
+++ b/Mk/Uses/cargo.mk
@@ -155,11 +155,6 @@ RUSTFLAGS+= -C target-cpu=${CPUTYPE:C/\+.+//g}
RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/}
. endif
-. if defined(PPC_ABI) && ${PPC_ABI} == ELFv1
-USE_GCC?= yes
-STRIP_CMD= ${LOCALBASE}/bin/strip # unsupported e_type with base strip
-. endif
-
# Helper to shorten cargo calls.
_CARGO_RUN= ${SETENV} ${MAKE_ENV} ${CARGO_ENV} ${CARGO}
CARGO_CARGO_RUN= cd ${WRKSRC}; ${SETENV} CARGO_FREEBSD_PORTS_SKIP_GIT_UPDATE=1 ${_CARGO_RUN}