This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Default to posix threads on hppa*-*-hpux11*
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 15 Oct 2006 20:08:03 -0400 (EDT)
- Subject: [committed] Default to posix threads on hppa*-*-hpux11*
I've gotten bitten a few times in recent months in not building
with --enable-threads=posix. Both ada and java need thread support
for proper operation. Other ports enable thread support by default,
so I decided to do the same on hppa*-hpux11*.
Tested on hppa2.0w-hp-hpux11.00.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2006-10-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*): Default to
posix thread support.
Index: config.gcc
===================================================================
--- config.gcc (revision 117594)
+++ config.gcc (working copy)
@@ -964,7 +964,7 @@
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o \
libgcc_stub.a"
case x${enable_threads} in
- xyes | xposix )
+ x | xyes | xposix )
thread_file=posix
;;
esac
@@ -993,7 +993,7 @@
tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
fi
case x${enable_threads} in
- xyes | xposix )
+ x | xyes | xposix )
thread_file=posix
;;
esac