strongswan: needs __atomic operations
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 24 May 2016 15:29:53 +0000 (17:29 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 24 May 2016 19:49:33 +0000 (21:49 +0200)
commit45eaede51b6817abc53e71d9e73c4c17ee29039e
tree2823740487bef1b34805f3111b7c9476a2a10268
parent9b429a90fad9681caa8d057098b76470c5dd498e
strongswan: needs __atomic operations

strongswan uses the __atomic_*() intrinsics, so we make it depend on
BR2_TOOLCHAIN_HAS_ATOMIC and link with libatomic when available. This
allows to fix the build on SPARC, therefore fixing:

  http://autobuild.buildroot.org/results/7e090237801874fb889c76f84863dc4c2ca20450/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/strongswan/Config.in
package/strongswan/strongswan.mk