about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Makeconfig2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2a62434c33..31662fc753 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
 
+	* Makeconfig (+link-static-before-libc): Don't include
+	$(link-static-libc).
+
 	* libio/libio.h (_IO_pos_t): Remove.
 
 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
diff --git a/Makeconfig b/Makeconfig
index 6a54bf32f6..f451ec22b4 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -434,7 +434,7 @@ ifndef +link-static
 						     $(start-installed-name))\
 			   $(+preinit) $(link-extra-libs-static) \
 			   $(common-objpfx)libc% $(+postinit),$^) \
-	      $(link-extra-libs-static) $(link-libc-static)
+	      $(link-extra-libs-static)
 +link-static-after-libc = $(+postctorT) $(+postinit)
 +link-static = $(+link-static-before-libc) $(link-libc-static) \
 	       $(+link-static-after-libc)