aboutsummaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2021-01-09 13:33:37 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2021-01-12 11:05:05 +0100
commitc372155db0a90a309945a5f92cc1fe2cc57c9c21 (patch)
treee73e4585c3a8c7c4769ff286dedcb4360a3c1a2b /toolchain
parent8874dbc95ce58551f3401916e8af7e4d85fce743 (diff)
downloadbuildroot-c372155db0a90a309945a5f92cc1fe2cc57c9c21.tar.gz
buildroot-c372155db0a90a309945a5f92cc1fe2cc57c9c21.tar.bz2
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> (cherry picked from commit a530fd4a4268b44961d8ab0a053fa0cf3b29fb5c) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index bff572805d..ae8e605cdd 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -667,6 +667,7 @@ config BR2_TOOLCHAIN_HAS_SYNC_8
config BR2_TOOLCHAIN_HAS_LIBATOMIC
bool
default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 && \
+ !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64 && \
BR2_TOOLCHAIN_HAS_THREADS && \
!BR2_BINFMT_FLAT