Message ID | 1369606110-8088-5-git-send-email-thomas.petazzoni@free-electrons.com |
---|---|
State | Accepted |
Commit | 517de29c523cd3561e723228a50aa414d3dc3fe1 |
Headers | show |
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> When thread support is disabled, the libitm and libatomic libraries
Thomas> from gcc should be disabled, otherwise, the build of gcc fails.
Committed to next, thanks.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> When thread support is disabled, the libitm and libatomic libraries
Thomas> from gcc should be disabled, otherwise, the build of gcc fails.
I've added this for 2013.05 instead, thanks.
diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk index 21679ef..5be26c4 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
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 <thomas.petazzoni@free-electrons.com> --- toolchain/gcc/gcc-uclibc-4.x.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)