]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
mpd: fix build on SPARC
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 Feb 2016 20:54:33 +0000 (21:54 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 7 Feb 2016 21:02:51 +0000 (22:02 +0100)
commit84533029c70a4dffb2cd2e4f05e3903fd1b8fcd9
treeeea65fb608b79570b3bfe192d012e91e4cb30e8b
parentcb444002409b677de22e54bf97030ef9121bd188
mpd: fix build on SPARC

mpd uses __atomic_*() built-ins, but forgets to link with -latomic
when needed, so this commit adds a patch that ensures it will link
with libatomic, and adds a dependency on BR2_TOOLCHAIN_HAS_ATOMIC.

Fixes:

  http://autobuild.buildroot.net/results/e2207280f3a177e12dba502b1c01f5aeb431d04c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mpd/0005-configure.ac-check-if-libatomic-is-needed.patch [new file with mode: 0644]
package/mpd/Config.in
package/mpd/mpd.mk