diff options
author | Roger Sayle <roger@eyesopen.com> | 2006-02-13 02:33:37 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2006-02-13 02:33:37 +0000 |
commit | 5142e08b2f932ed958d703255ba5059b9192b037 (patch) | |
tree | a5ec2f1d4fbb2205c01c9a9ed279e6153ca05af9 /libgomp/configure.tgt | |
parent | d539b114d4e0a82f888f08fce4dd4fd5824ae784 (diff) | |
download | gcc-5142e08b2f932ed958d703255ba5059b9192b037.zip gcc-5142e08b2f932ed958d703255ba5059b9192b037.tar.gz gcc-5142e08b2f932ed958d703255ba5059b9192b037.tar.bz2 |
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
Diffstat (limited to 'libgomp/configure.tgt')
-rw-r--r-- | libgomp/configure.tgt | 5 |
1 files changed, 5 insertions, 0 deletions
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" + ;; + *) ;; |