summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-10-16 21:11:19 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-10-17 00:58:49 -0500
commit62fafef7749dd7c1d07c73afc240ca3edd087770 (patch)
tree47afbf8f56506984d02062a32847579ccf8833dc
parentfabdb20dca6d9ab750d4cd1d3d20c30f1c74435f (diff)
downloadpackages-62fafef7749dd7c1d07c73afc240ca3edd087770.tar.gz
packages-62fafef7749dd7c1d07c73afc240ca3edd087770.tar.bz2
packages-62fafef7749dd7c1d07c73afc240ca3edd087770.tar.xz
packages-62fafef7749dd7c1d07c73afc240ca3edd087770.zip
user/zola: Disable LTO for ppc32 build
Closes: #1256
-rw-r--r--user/zola/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/user/zola/APKBUILD b/user/zola/APKBUILD
index 51a0ec9b4..86bc41561 100644
--- a/user/zola/APKBUILD
+++ b/user/zola/APKBUILD
@@ -555,13 +555,16 @@ prepare() {
(builddir=$srcdir; default_prepare)
mkdir -p "$CARGO_VENDOR"
- cat <<- EOF > "$CARGO_HOME/config"
+ cat <<- EOF > "$CARGO_HOME/config.toml"
[source.adelie]
directory = "${CARGO_VENDOR}"
[source.crates-io]
replace-with = "adelie"
local-registry = "/nonexistant"
+
+ [profile.release]
+ lto = false # Adélie bug #1256
EOF
for _dep in $(echo $cargo_deps | sed -E 's#([[:graph:]]+) ([[:graph:]]+)#\1-\2#g'); do