From: Thomas Petazzoni Date: Mon, 13 Dec 2010 16:27:46 +0000 (+0100) Subject: gcc: disable libgomp when thread support is disabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=227b5d2e26712ec86f14a5d10fdc203f93dc1279;p=buildroot.git gcc: disable libgomp when thread support is disabled libgomp needs thread support on the target to build properly. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk index 5f69906cab..cd63992fc2 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