From 517de29c523cd3561e723228a50aa414d3dc3fe1 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 26 May 2013 12:08:14 +0000 Subject: [PATCH] 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 --- toolchain/gcc/gcc-uclibc-4.x.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2