summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-12-13 16:27:46 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-12-13 21:26:51 (GMT)
commit227b5d2e26712ec86f14a5d10fdc203f93dc1279 (patch)
tree1cee5b97cdac7f8d132a593d119f743f2d774db8
parent42e32d55b137d47b207e41e83857e53c05de3137 (diff)
downloadbuildroot-227b5d2e26712ec86f14a5d10fdc203f93dc1279.tar.gz
buildroot-227b5d2e26712ec86f14a5d10fdc203f93dc1279.tar.bz2
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>
-rw-r--r--toolchain/gcc/gcc-uclibc-4.x.mk2
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