summaryrefslogtreecommitdiff
path: root/extra/mpd
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-08-15 08:16:00 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-08-15 08:16:00 +0200
commitdf3f34bc4bcb2d9ae833e218675c024618fc2cee (patch)
tree8f2295a4e97ce422857ecd329118f4f0c34166a3 /extra/mpd
parent1c5bf8244305aa314e4cff5058105bb1849b9f05 (diff)
downloadpackages-df3f34bc4bcb2d9ae833e218675c024618fc2cee.tar.xz
extra/mpd: -latomic for i486
Diffstat (limited to 'extra/mpd')
-rw-r--r--extra/mpd/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/extra/mpd/PKGBUILD b/extra/mpd/PKGBUILD
new file mode 100644
index 00000000..93b81cfd
--- /dev/null
+++ b/extra/mpd/PKGBUILD
@@ -0,0 +1,9 @@
+# -latomc for i486
+if [ "$CARCH" = 'i486' ]; then
+ eval "$(
+ declare -f build | \
+ sed '
+ /meson/ i LDFLAGS=-latomic
+ '
+ )"
+fi