From 5142e08b2f932ed958d703255ba5059b9192b037 Mon Sep 17 00:00:00 2001 From: Roger Sayle Date: Mon, 13 Feb 2006 02:33:37 +0000 Subject: re PR libgomp/25936 (libgomp needs to link against rt on HPUX) 2006-02-12 Roger Sayle John David Anglin PR libgomp/25936 * configure.tgt: Link against -lrt for sem_init on HPUX v11 systems. Co-Authored-By: John David Anglin From-SVN: r110908 --- libgomp/ChangeLog | 6 ++++++ libgomp/configure.tgt | 5 +++++ 2 files changed, 11 insertions(+) (limited to 'libgomp') diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index de35c56..260d968 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2006-02-12 Roger Sayle + John David Anglin + + PR libgomp/25936 + * configure.tgt: Link against -lrt for sem_init on HPUX v11 systems. + 2006-02-08 Ulrich Weigand * testsuite/lib/libgomp-dg.exp: Load scanrtl.exp library. diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt index f9679de..dedafd3 100644 --- a/libgomp/configure.tgt +++ b/libgomp/configure.tgt @@ -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" + ;; + *) ;; -- cgit v1.1