[Buildroot] [git commit master 1/1] gcc: disable libgomp when thread support is disabled

Peter Korsgaard jacmet at sunsite.dk
Mon Dec 13 21:26:52 UTC 2010


commit: http://git.buildroot.net/buildroot/commit/?id=227b5d2e26712ec86f14a5d10fdc203f93dc1279
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

libgomp needs thread support on the target to build properly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 toolchain/gcc/gcc-uclibc-4.x.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk
index 5f69906..cd63992 100644
--- a/toolchain/gcc/gcc-uclibc-4.x.mk
+++ b/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
-- 
1.7.2.2




More information about the buildroot mailing list