toolchain: CodeSourcery AArch64 2014.11 does not contain libatomic
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 9 Jan 2021 12:33:37 +0000 (13:33 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 9 Jan 2021 22:20:10 +0000 (23:20 +0100)
commita530fd4a4268b44961d8ab0a053fa0cf3b29fb5c
treeba0eb398ecf64d3002c74ab7de43db45640aaa12
parent6a216093cae7df943029f681da6aa25971805e5c
toolchain: CodeSourcery AArch64 2014.11 does not contain libatomic

Fixes build error

output/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-amd-linux-gnu/4.9.1/../../../../aarch64-amd-linux-gnu/bin/ld:
 cannot find -latomic

using this defconfig

BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64=y
BR2_PACKAGE_OPENSSL=y

libopenssl is only used here as an example: all packages adding -latomic
if BR2_TOOLCHAIN_HAS_LIBATOMIC=y are broken, like dav1d, ffmpeg, gnutls,
kodi and vlc.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
toolchain/Config.in