diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-17 15:41:10 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-01-17 15:41:10 +0000 |
commit | a16f6a4d9eaafefa9537c16948bf35234d097f80 (patch) | |
tree | 7571d380c5ccd3a7b9eb6d4a1bbd850ad8a2ca44 /libstdc++-v3/configure.host | |
parent | 1211c450433cac7bdd20b9b4e29ff0db5dca0eb7 (diff) | |
download | gcc-a16f6a4d9eaafefa9537c16948bf35234d097f80.tar.gz |
Link libstdc++ with -lpthread on IRIX 6 (PR target/47852)
PR target/47852
* configure.host (irix6.5*): Add -lpthread to OPT_LDFLAGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183251 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/configure.host')
-rw-r--r-- | libstdc++-v3/configure.host | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host index 4da4508fa4f..715d549546f 100644 --- a/libstdc++-v3/configure.host +++ b/libstdc++-v3/configure.host @@ -258,6 +258,10 @@ case "${host_os}" in os_include_dir="os/irix/irix6.5" atomicity_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*) case "$host" in |