From: Thomas Petazzoni Date: Sun, 26 May 2013 12:08:14 +0000 (+0000) Subject: gcc: fix gcc 4.8 build when thread support is disabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=517de29c523cd3561e723228a50aa414d3dc3fe1;p=buildroot.git gcc: fix gcc 4.8 build when thread support is disabled When thread support is disabled, the libitm and libatomic libraries from gcc should be disabled, otherwise, the build of gcc fails. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk index 21679ef17f..5be26c44c0 100644 --- a/toolchain/gcc/gcc-uclibc-4.x.mk +++ b/toolchain/gcc/gcc-uclibc-4.x.mk @@ -203,7 +203,7 @@ GCC_TLS:=--disable-tls endif ifeq ($(BR2_PTHREADS_NONE),y) -THREADS:=--disable-threads +THREADS:=--disable-threads --disable-libitm --disable-libatomic else THREADS:=--enable-threads endif