From 67df8b1f512d1ee2c29dd9427e85c2b0649b17c5 Mon Sep 17 00:00:00 2001
From: Rainer Emrich <r.emrich@de.tecosim.com>
Date: Sat, 13 Dec 2008 00:14:15 +0000
Subject: [PATCH] re PR bootstrap/38383 (fails to build cross gcc for target
 hppa64-hp-hpux11.00)

	PR bootstrap/38383
	* pa64-hpux.h (LINK_GCC_C_SEQUENCE_SPEC): Don't hardcode search path
	for the milli.a library.

From-SVN: r142729
---
 gcc/ChangeLog             | 6 ++++++
 gcc/config/pa/pa64-hpux.h | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f25094f8a121..633266654195 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2008-12-12  Rainer Emrich  <r.emrich@de.tecosim.com>
+
+	PR bootstrap/38383
+	* pa64-hpux.h (LINK_GCC_C_SEQUENCE_SPEC): Don't hardcode search path
+	for the milli.a library.
+
 2008-12-12  Andrew Pinski  <andrew_pinskia@playstation.sony.com>
             Peter Bergner <bergner@vnet.ibm.com>
 
diff --git a/gcc/config/pa/pa64-hpux.h b/gcc/config/pa/pa64-hpux.h
index fa5ec3a4f1e4..16f5a3e4b092 100644
--- a/gcc/config/pa/pa64-hpux.h
+++ b/gcc/config/pa/pa64-hpux.h
@@ -94,7 +94,7 @@ along with GCC; see the file COPYING3.  If not see
 #undef LINK_GCC_C_SEQUENCE_SPEC
 #define LINK_GCC_C_SEQUENCE_SPEC "\
   %G %L %G %{!nostdlib:%{!nodefaultlibs:%{!shared:-lgcc_stub}\
-  /usr/lib/pa20_64/milli.a}}"
+  milli.a%s}}"
 
 /* Under hpux11, the normal location of the `ld' and `as' programs is the
    /usr/ccs/bin directory.  */
-- 
GitLab