summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/gcc-uclibc-4.x.mk
diff options
context:
space:
mode:
authorThomas Petazzoni2010-12-13 17:27:46 +0100
committerPeter Korsgaard2010-12-13 22:26:51 +0100
commit227b5d2e26712ec86f14a5d10fdc203f93dc1279 (patch)
tree1cee5b97cdac7f8d132a593d119f743f2d774db8 /toolchain/gcc/gcc-uclibc-4.x.mk
parenttoolchain: check that the thread option selection is correct (diff)
downloadbuildroot-227b5d2e26712ec86f14a5d10fdc203f93dc1279.tar.gz
buildroot-227b5d2e26712ec86f14a5d10fdc203f93dc1279.tar.xz
buildroot-227b5d2e26712ec86f14a5d10fdc203f93dc1279.zip
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>
Diffstat (limited to 'toolchain/gcc/gcc-uclibc-4.x.mk')
-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 5f69906ca..cd63992fc 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