summaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure.host
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-02 16:16:22 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-02 16:16:22 +0000
commite818e49e599bd4b1a8f6189df4e127264390bb74 (patch)
tree72342dc4c4873c1905ca504d7511056a0f8e6456 /libstdc++-v3/configure.host
parent1949f944af612cb333364b25be13e652577e49f9 (diff)
downloadgcc-e818e49e599bd4b1a8f6189df4e127264390bb74.tar.gz
PR target/45693
* configure.host (osf*): Set os_include_dir to os/generic. Add -lpthread to OPT_LDFLAGS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166199 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/configure.host')
-rw-r--r--libstdc++-v3/configure.host7
1 files changed, 7 insertions, 0 deletions
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host
index 30b28dcd9f6..73cf2162cbc 100644
--- a/libstdc++-v3/configure.host
+++ b/libstdc++-v3/configure.host
@@ -261,6 +261,13 @@ case "${host_os}" in
netbsd*)
os_include_dir="os/bsd/netbsd"
;;
+ osf*)
+ os_include_dir="os/generic"
+ # libstdc++.so relies on emutls on Tru64 UNIX, which only works with the
+ # real functions implemented in libpthread.so, not with the dummies in
+ # libgcc, so always pass -lpthread.
+ OPT_LDFLAGS="${OPT_LDFLAGS} -lpthread"
+ ;;
qnx6.[12]*)
os_include_dir="os/qnx/qnx6.1"
c_model=c