01932fec17
Fixes: http://autobuild.buildroot.net/results/98f/98fedf4969c260f73a01b937b9625e66dcd86b3c When BR2_TOOLCHAIN_HAS_LIBATOMIC is "n", there is no gcc libatomic.so library to install. For configurations with such settings, compilation fails as gcc-final.mk unconditionally adds libatomic as an installation target. This error, for instance, shows for all Canaan K210 riscv configs, as they all use uclibc flat binary format which disabled libatomic: Fix this by modifying package/gcc/gcc-final/gcc-final.mk to add libatomic to GCC_FINAL_LIBS only for configurations that have BR2_TOOLCHAIN_HAS_LIBATOMIC set to "y". Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> |
||
---|---|---|
.. | ||
gcc-final.hash | ||
gcc-final.mk |