re PR target/45693 (All Tru64 UNIX C++ EH tests fail)

PR target/45693
	* configure.host (osf*): Set os_include_dir to os/generic.
	Add -lpthread to OPT_LDFLAGS.

From-SVN: r166199
This commit is contained in:
Rainer Orth 2010-11-02 16:16:22 +00:00 committed by Rainer Orth
parent 3451f439c5
commit f986c46600
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2010-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR target/45693
* configure.host (osf*): Set os_include_dir to os/generic.
Add -lpthread to OPT_LDFLAGS.
2010-11-02 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/bitset (_Base_bitset<>_Base_bitset(unsigned long long)):

View File

@ -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