Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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