aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2024-04-25 00:39:37 +0000
committerJan Beich <jbeich@FreeBSD.org>2024-04-25 00:50:02 +0000
commitef0538735a5064d289ca9a7ab8fd1f9a2a0f912f (patch)
tree48ddc58183fb56de142ab7484dc157e75bff641c /deskutils
parent4e2b1920d3237c30781063b0c3350da8213d29b3 (diff)
downloadports-ef0538735a5064d289ca9a7ab8fd1f9a2a0f912f.tar.gz
ports-ef0538735a5064d289ca9a7ab8fd1f9a2a0f912f.zip
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/health/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/deskutils/health/Makefile b/deskutils/health/Makefile
index a0c570797eba..79c59e3239e2 100644
--- a/deskutils/health/Makefile
+++ b/deskutils/health/Makefile
@@ -27,6 +27,12 @@ CARGO_INSTALL= no
CARGO_TEST= no
GLIB_SCHEMAS= dev.Cogitri.Health.gschema.xml
+.if ${MACHINE_ARCH} == i386
+# https://github.com/rust-lang/rust/issues/85598
+LTO_UNSAFE= yes
+CARGO_ENV+= CARGO_PROFILE_RELEASE_LTO=false
+.endif
+
post-patch:
# Make each cargo subcommand very verbose
# Add explicit <triple> subdir for --target from USES=cargo