Don't include link-libc-static in +link-static-before-libc.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 10 Oct 2012 21:07:20 +0000 (21:07 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 10 Oct 2012 21:07:20 +0000 (21:07 +0000)
ChangeLog
Makeconfig

index 2a62434..31662fc 100644 (file)
--- 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>
index 6a54bf3..f451ec2 100644 (file)
@@ -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)