Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/redis/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/redis/PKGBUILD')
-rw-r--r--extra/redis/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/redis/PKGBUILD b/extra/redis/PKGBUILD
new file mode 100644
index 00000000..02ba0304
--- /dev/null
+++ b/extra/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