openal: fix atomic handling
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 2 Feb 2016 15:31:34 +0000 (16:31 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 6 Feb 2016 10:16:00 +0000 (11:16 +0100)
commitbad657ddfccb2227a02cdea45ea4da0d91226cf2
treea3e1d0cc84da7d9de6a98718f56df85287f229ca
parent8df95843ed1090b7be41b541bbcf111b86cb4c4d
openal: fix atomic handling

openal can uses __atomic_*() intrinsics when available, or fall-back
on __sync_*() built-ins. This commit adjusts the package to take into
account for those dependencies, and makes sure we link against
libatomic when gcc >= 4.8 so that the __atomic_*() intrinsics can be
used on all architectures.

Fixes:

  http://autobuild.buildroot.org/results/314fb8da3ca87984e9240d67ff233e2f999ae89e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
package/gstreamer1/gst1-plugins-bad/Config.in
package/openal/0001-Fix-detection-of-C11-atomics.patch [new file with mode: 0644]
package/openal/Config.in
package/openal/openal.mk