Explorar o código

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>
Thomas Petazzoni %!s(int64=14) %!d(string=hai) anos
pai
achega
227b5d2e26
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      toolchain/gcc/gcc-uclibc-4.x.mk

+ 1 - 1
toolchain/gcc/gcc-uclibc-4.x.mk

@@ -139,7 +139,7 @@ GCC_TLS:=--disable-tls
 endif
 
 ifeq ($(BR2_PTHREADS_NONE),y)
-THREADS:=--disable-threads
+THREADS:=--disable-threads --disable-libgomp
 else
 THREADS:=--enable-threads
 endif