瀏覽代碼

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>
Thomas Petazzoni 12 年之前
父節點
當前提交
517de29c52
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      toolchain/gcc/gcc-uclibc-4.x.mk

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

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