diff options
author | Gerald Pfeifer <gerald@gcc.gnu.org> | 2011-01-16 19:38:04 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2011-01-16 19:38:04 +0000 |
commit | f1d4ab26bcbb5ae3f28b4eb927d1d53f8e25a84f (patch) | |
tree | 4ef1c1c80b5f61b8b992f3aa36b147c566688190 /libgomp/configure.tgt | |
parent | fc1e05d293811b305924ae0d8cb15b714ebbcdf4 (diff) | |
download | gcc-f1d4ab26bcbb5ae3f28b4eb927d1d53f8e25a84f.zip gcc-f1d4ab26bcbb5ae3f28b4eb927d1d53f8e25a84f.tar.gz gcc-f1d4ab26bcbb5ae3f28b4eb927d1d53f8e25a84f.tar.bz2 |
* configure.tgt (*-*-freebsd*): Add -lpthread to XLDFLAGS.
From-SVN: r168858
Diffstat (limited to 'libgomp/configure.tgt')
-rw-r--r-- | libgomp/configure.tgt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt index 4a56445..429c8e6 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" |