Link libstdc++ with -lpthread on IRIX 6 (PR target/47852)
PR target/47852 * configure.host (irix6.5*): Add -lpthread to OPT_LDFLAGS. From-SVN: r183251
This commit is contained in:
parent
e831c1e8a6
commit
99eb180f66
|
@ -1,3 +1,8 @@
|
||||||
|
2012-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||||
|
|
||||||
|
PR target/47852
|
||||||
|
* configure.host (irix6.5*): Add -lpthread to OPT_LDFLAGS.
|
||||||
|
|
||||||
2012-01-14 Jonathan Wakely <jwakely.gcc@gmail.com>
|
2012-01-14 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||||
|
|
||||||
* include/bits/stl_iterator.h (reverse_iterator): Doxygen comments.
|
* include/bits/stl_iterator.h (reverse_iterator): Doxygen comments.
|
||||||
|
|
|
@ -258,6 +258,10 @@ case "${host_os}" in
|
||||||
os_include_dir="os/irix/irix6.5"
|
os_include_dir="os/irix/irix6.5"
|
||||||
atomicity_dir=os/irix
|
atomicity_dir=os/irix
|
||||||
atomic_word_dir=os/irix
|
atomic_word_dir=os/irix
|
||||||
|
# libstdc++.so relies on emutls on IRIX, which only works with the
|
||||||
|
# real functions implemented in libpthread.so, not with the stubs in
|
||||||
|
# libc, so always pass -lpthread.
|
||||||
|
OPT_LDFLAGS="${OPT_LDFLAGS} -lpthread"
|
||||||
;;
|
;;
|
||||||
mingw32*)
|
mingw32*)
|
||||||
case "$host" in
|
case "$host" in
|
||||||
|
|
Loading…
Reference in New Issue