Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/nss/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-01-13 13:14:22 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-01-13 13:14:22 +0100
commitf3d276d793fcd5990d5ebf66cca055196c147f30 (patch)
treea9eb3e29ccf2aa9ebeea31bb85e1c8b4190c2882 /core/nss/PKGBUILD
parent1706b11aa02539a5961b158e2ecc4c54c31e50b4 (diff)
core/nss: use clang for FS32#218 (segfault in lib signer)
Diffstat (limited to 'core/nss/PKGBUILD')
-rw-r--r--core/nss/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/nss/PKGBUILD b/core/nss/PKGBUILD
index d48452fc..b6a978f1 100644
--- a/core/nss/PKGBUILD
+++ b/core/nss/PKGBUILD
@@ -25,3 +25,14 @@ eval "$(
s/build.sh/build.sh -Dsign_libs=0 /g
'
)"
+
+# workaround FS32#218 (segfaults in library signer), use clang
+#(also enable verbose builds, so we see potential issues)
+makedepends+=(clang)
+eval "$(
+ declare -f build | \
+ sed '
+ s/build.sh/build.sh -v/g
+ s/build.sh/build.sh --clang/g
+ '
+)"