Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/apr/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-07-04 11:28:55 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-07-04 11:28:55 +0200
commita293060bbe4f1b76ad8e08b2d59732921f52839d (patch)
treed95405a04cb8e0f2d43a5c4ae22e024082373a56 /extra/apr/PKGBUILD
parent140408659033000708ff51e31eab7daabee73497 (diff)
extra/apr: disable compiler atomics on i486
Diffstat (limited to 'extra/apr/PKGBUILD')
-rw-r--r--extra/apr/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/apr/PKGBUILD b/extra/apr/PKGBUILD
new file mode 100644
index 00000000..f11a97b8
--- /dev/null
+++ b/extra/apr/PKGBUILD
@@ -0,0 +1,9 @@
+# disable compiler atomics on u486
+if [ "${CARCH}" = "i486" ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-nonportable-atomics/--disable-nonportable-atomics/
+ '
+ )"
+fi