Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-05-07 08:01:57 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-05-07 08:01:57 +0200
commit36078c0a7472c6246f45389daa267cbb8c0f35c8 (patch)
treeec5141b4e64c9424071165fe2fcf8b2e73642e28 /extra
parent971cbc2f8b5a85a14332ffd5051064b8ada05aae (diff)
extra/compiler-rt: added -latomic on 486
Diffstat (limited to 'extra')
-rw-r--r--extra/compiler-rt/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/compiler-rt/PKGBUILD b/extra/compiler-rt/PKGBUILD
new file mode 100644
index 00000000..b7692845
--- /dev/null
+++ b/extra/compiler-rt/PKGBUILD
@@ -0,0 +1,9 @@
+# i486 needs atomic libraries when linking
+if [ "$CARCH" = 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/cmake /cmake -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic /
+ '
+ )"
+fi