summaryrefslogtreecommitdiff
path: root/libgomp/configure.tgt
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-19 10:29:54 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-19 10:29:54 +0000
commit5b9a94504088e7452ea562233e9643e0d8205df6 (patch)
treefc86c19aa122e91770ae23801d19b8a249fe74d7 /libgomp/configure.tgt
parent01c7add04011110f55f1f7b662ab1b8dc99ed9d4 (diff)
downloadgcc-5b9a94504088e7452ea562233e9643e0d8205df6.tar.gz
2011-01-19 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 168984 2011-01-19 Basile Starynkevitch <basile@starynkevitch.net> * gcc/melt/warmelt-outobj.melt (generate_runtypesupport_mapfun): Correct some typos in generated code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@168988 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/configure.tgt')
-rw-r--r--libgomp/configure.tgt5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt
index 4a564452cef..429c8e6bca2 100644
--- a/libgomp/configure.tgt
+++ b/libgomp/configure.tgt
@@ -124,6 +124,11 @@ case "${target}" in
config_path="bsd posix"
;;
+ *-*-freebsd*)
+ # Need to link with -lpthread so libgomp.so is self-contained.
+ XLDFLAGS="${XLDFLAGS} -lpthread"
+ ;;
+
mips-sgi-irix6*)
# Need to link with -lpthread so libgomp.so is self-contained.
XLDFLAGS="${XLDFLAGS} -lpthread"