From a293060bbe4f1b76ad8e08b2d59732921f52839d Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 4 Jul 2020 11:28:55 +0200 Subject: extra/apr: disable compiler atomics on i486 --- extra/apr/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 extra/apr/PKGBUILD (limited to 'extra/apr') 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 -- cgit v1.2.3-70-g09d2