Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-04-27 00:30:13 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-04-27 00:30:13 +0300
commite79f6ad864e08816231bf69eaa25e3db2b128905 (patch)
tree37fd57bb543d92375165e6f90f4351fdda9d0bcc
parentc69350d4acfb64f6cce63b6b5ffce10f9f3b4621 (diff)
extra/rustic: Prevent OOM
-rw-r--r--extra/rustic/PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/rustic/PKGBUILD b/extra/rustic/PKGBUILD
new file mode 100644
index 00000000..bc018d83
--- /dev/null
+++ b/extra/rustic/PKGBUILD
@@ -0,0 +1,2 @@
+options+=(!debug)
+eval "$(declare -f build | sed 's@CARGO_PROFILE_RELEASE_DEBUG=[0-9]@CARGO_PROFILE_RELEASE_DEBUG=0@;s@CARGO_PROFILE_RELEASE_STRIP=false@CARGO_PROFILE_RELEASE_STRIP=true@')"