summaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-13 02:33:37 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-13 02:33:37 +0000
commit8829131347c2ca1d63650f604c69597d7e9958e2 (patch)
treea5ec2f1d4fbb2205c01c9a9ed279e6153ca05af9 /libgomp
parent9b9f6bbe9c4bbf15a63244080f7311e108a32868 (diff)
downloadgcc-8829131347c2ca1d63650f604c69597d7e9958e2.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110908 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog6
-rw-r--r--libgomp/configure.tgt5
2 files changed, 11 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index de35c563841..260d9680dc0 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -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.
diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt
index f9679debc25..dedafd350aa 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"
+ ;;
+
*)
;;