mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
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 <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
85e3090a92
commit
517de29c52
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user