aboutsummaryrefslogtreecommitdiff
path: root/src/org/euandre/queue.scm
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-10-18 16:21:00 -0300
committerEuAndreh <eu@euandre.org>2024-10-18 16:21:00 -0300
commitd5015231cd4bf7825f33033f9e4a53591850498b (patch)
tree4104231cee81f0c9909688e892dafd328cd7e8f4 /src/org/euandre/queue.scm
parentqueue.scm: Adjust scryptkdf flags (diff)
downloadpackages-d5015231cd4bf7825f33033f9e4a53591850498b.tar.gz
packages-d5015231cd4bf7825f33033f9e4a53591850498b.tar.xz
queue.scm: Use -O2 over -O3 for scrypt
For some reason that I didn't take the time to investigate and find out, using -O3 made the `testsmix(crypto_scrypt_smix)` condition [0] to fail, and ultimately lead to a broken library. I found this through trial and error, by tweaking the $(CFLAGS), since I knew the library itself was working with the default flags used by Guix. https://github.com/Tarsnap/scrypt/blob/6cec2c2d2c9198efe8a716599f02b99db4d8a993/lib-platform/crypto/crypto_scrypt.c#L231
Diffstat (limited to 'src/org/euandre/queue.scm')
-rw-r--r--src/org/euandre/queue.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/euandre/queue.scm b/src/org/euandre/queue.scm
index aaf54b5..5fca464 100644
--- a/src/org/euandre/queue.scm
+++ b/src/org/euandre/queue.scm
@@ -1924,7 +1924,7 @@ SetEnv GIT_CONFIG_GLOBAL=/etc/gitconfig")))
"-D_POSIX_C_SOURCE=200809L"
"-D_XOPEN_SOURCE=700"
"-g"
- "-O3"
+ "-O2"
"-march=native"
"-std=c99"
"-Wvla"