summaryrefslogtreecommitdiff
path: root/user/zola/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/zola/APKBUILD')
-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