re PR libgomp/25936 (libgomp needs to link against rt on HPUX)

2006-02-12  Roger Sayle  <roger@eyesopen.com>
	    John David Anglin  <dave@hiauly1.hia.nrc.ca>

	PR libgomp/25936
	* configure.tgt: Link against -lrt for sem_init on HPUX v11 systems.
 

Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca>

From-SVN: r110908
This commit is contained in:
Roger Sayle 2006-02-13 02:33:37 +00:00 committed by Roger Sayle
parent d539b114d4
commit 5142e08b2f
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-02-12 Roger Sayle <roger@eyesopen.com>
John David Anglin <dave@hiauly1.hia.nrc.ca>
PR libgomp/25936
* configure.tgt: Link against -lrt for sem_init on HPUX v11 systems.
2006-02-08 Ulrich Weigand <uweigand@de.ibm.com>
* testsuite/lib/libgomp-dg.exp: Load scanrtl.exp library.

View File

@ -86,6 +86,11 @@ fi
# Other system configury
case "${target}" in
*-*-hpux11*)
# HPUX v11.x requires -lrt to resolve sem_init in libgomp.la
XLDFLAGS="${XLDFLAGS} -lrt"
;;
*)
;;