OSDN Git Service

2006-02-12 Roger Sayle <roger@eyesopen.com>
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Feb 2006 02:33:37 +0000 (02:33 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Feb 2006 02:33:37 +0000 (02:33 +0000)
    John David Anglin  <dave@hiauly1.hia.nrc.ca>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110908 138bc75d-0d04-0410-961f-82ee72b054a4

libgomp/ChangeLog
libgomp/configure.tgt

index de35c56..260d968 100644 (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.
index f9679de..dedafd3 100644 (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"
+       ;;
+
   *)
        ;;