summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-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