aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2010-01-28 21:47:59 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2010-01-28 21:47:59 +0000
commit6684eb28f6c4fa031e6959d7826ae0a3e2b846d5 (patch)
treeb44093d5e0850facbc0fbba04332428798651848 /libgomp
parentd6bedeaf4822a04dc62809459d4a6634c4fe41d0 (diff)
downloadgcc-6684eb28f6c4fa031e6959d7826ae0a3e2b846d5.zip
gcc-6684eb28f6c4fa031e6959d7826ae0a3e2b846d5.tar.gz
gcc-6684eb28f6c4fa031e6959d7826ae0a3e2b846d5.tar.bz2
configure.tgt (*-*-hpux*): Add -frandom-seed flag.
2010-01-28 Steve Ellcey <sje@cup.hp.com> * configure.tgt (*-*-hpux*): Add -frandom-seed flag. From-SVN: r156334
Diffstat (limited to 'libgomp')
-rw-r--r--libgomp/ChangeLog4
-rw-r--r--libgomp/configure.tgt16
2 files changed, 17 insertions, 3 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index eab2079..246d411 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-28 Steve Ellcey <sje@cup.hp.com>
+
+ * configure.tgt (*-*-hpux*): Add -frandom-seed flag.
+
2010-01-26 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Test for executability of _the first word_ of GFORTRAN.
diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt
index d66899f..427d8d3 100644
--- a/libgomp/configure.tgt
+++ b/libgomp/configure.tgt
@@ -97,9 +97,19 @@ fi
# Other system configury
case "${target}" in
- *-*-hpux11*)
- # HPUX v11.x requires -lrt to resolve sem_init in libgomp.la
- XLDFLAGS="${XLDFLAGS} -lrt"
+ *-*-hpux*)
+ case "${target}" in
+ *-*-hpux11*)
+ # HPUX v11.x requires -lrt to resolve sem_init in libgomp.la
+ XLDFLAGS="${XLDFLAGS} -lrt"
+ ;;
+ esac
+ case "${target}" in
+ hppa[12]*-*-hpux*)
+ # PA 32 HP-UX needs -frandom-seed for bootstrap compare.
+ XCFLAGS="${XCFLAGS} -frandom-seed=fixed-seed"
+ ;;
+ esac
;;
*-*-mingw32*)