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