From 2207a4980fbecccbb7aba5d7149c2c0304c01a1a Mon Sep 17 00:00:00 2001
From: Dave Korn <dave.korn.cygwin@gmail.com>
Date: Sat, 17 Jan 2009 21:06:17 +0000
Subject: [PATCH] re PR bootstrap/38862 (Bootstrap failure on HEAD with static
 linking vs. graphite)

	PR bootstrap/38862
	* Makefile.in (BACKENDLIBS):  Reorder to match dependencies.

From-SVN: r143472
---
 gcc/ChangeLog   | 4 ++++
 gcc/Makefile.in | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5c356fc8c04f..0ac55032cca0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-17  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+	* Makefile.in (BACKENDLIBS):  Reorder to match dependencies.
+
 2009-01-17  Sebastian Pop  <sebastian.pop@amd.com>
 	    Tobias Grosser  <tobi.grosser@amd.com>
 
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 2190d437eb13..946d0567179d 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -919,7 +919,7 @@ BUILD_LIBDEPS= $(BUILD_LIBIBERTY)
 # How to link with both our special library facilities
 # and the system's installed libraries.
 LIBS = @LIBS@ $(CPPLIB) $(LIBINTL) $(LIBICONV) $(LIBIBERTY) $(LIBDECNUMBER)
-BACKENDLIBS = $(GMPLIBS) $(CLOOGLIBS) $(PPLLIBS)
+BACKENDLIBS = $(CLOOGLIBS) $(PPLLIBS) $(GMPLIBS)
 # Any system libraries needed just for GNAT.
 SYSLIBS = @GNAT_LIBEXC@
 
-- 
GitLab