OSDN Git Service

2010-01-28 Steve Ellcey <sje@cup.hp.com>
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jan 2010 21:47:59 +0000 (21:47 +0000)
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jan 2010 21:47:59 +0000 (21:47 +0000)
* configure.tgt (*-*-hpux*): Add -frandom-seed flag.

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

libgomp/ChangeLog
libgomp/configure.tgt

index eab2079..246d411 100644 (file)
@@ -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.
index d66899f..427d8d3 100644 (file)
@@ -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*)