mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-04 08:57:44 +00:00
gcc: disable libgomp when thread support is disabled
libgomp needs thread support on the target to build properly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
42e32d55b1
commit
227b5d2e26
@ -139,7 +139,7 @@ GCC_TLS:=--disable-tls
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PTHREADS_NONE),y)
|
ifeq ($(BR2_PTHREADS_NONE),y)
|
||||||
THREADS:=--disable-threads
|
THREADS:=--disable-threads --disable-libgomp
|
||||||
else
|
else
|
||||||
THREADS:=--enable-threads
|
THREADS:=--enable-threads
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user