Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-06-10 11:23:48 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-06-10 11:23:48 +0200
commit543a4c1c9d316d824aca073852b3dc51fbd2f0f9 (patch)
tree8cbd6799145bf39652580dbf5a85b45ff47a0781
parentd0d3528f99cc3e1f75cd431e628b6c974f7be37b (diff)
community/redis: added -latomic on i486
-rw-r--r--community/redis/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/redis/PKGBUILD b/community/redis/PKGBUILD
new file mode 100644
index 00000000..02ba0304
--- /dev/null
+++ b/community/redis/PKGBUILD
@@ -0,0 +1,9 @@
+# add -latomic where needed (i486)
+if [ "$CARCH" = 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ s/make/LDFLAGS='-latomic' make/
+ '
+ )"
+fi