summaryrefslogtreecommitdiff
path: root/extra/libatomic_ops/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libatomic_ops/PKGBUILD')
-rw-r--r--extra/libatomic_ops/PKGBUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/libatomic_ops/PKGBUILD b/extra/libatomic_ops/PKGBUILD
new file mode 100644
index 00000000..cb18a7d9
--- /dev/null
+++ b/extra/libatomic_ops/PKGBUILD
@@ -0,0 +1,15 @@
+# i486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # missing a -latomic when linking tests
+ source+=('libatomic_ops-7.6.4-libatomic.patch')
+ sha256sums+=('9309b11f4794c14c09f49df21aa9adb9e490db1d0bffa707af0a36db40e950cc')
+
+ eval "$(
+ declare -f prepare | \
+ sed '
+ /}/ i \
+ patch -Np1 -i "$srcdir/libatomic_ops-7.6.4-libatomic.patch" \
+ autoreconf
+ '
+ )"
+fi