2015-09-21 Jonathan Yong <10walls@gmail.com>
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Sep 2015 09:58:44 +0000 (09:58 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Sep 2015 09:58:44 +0000 (09:58 +0000)
        * config/i386/cygwin.h (STARTFILE_SPEC): Explicitly search
        sysroot/usr/lib/32api for additional win32 libraries,
        fixes failing Cygwin bootstrapping.

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

gcc/ChangeLog
gcc/config/i386/cygwin.h

index d9682b7..6c79ba8 100644 (file)
@@ -1,3 +1,9 @@
+2015-09-21  Jonathan Yong  <10walls@gmail.com>
+
+       * config/i386/cygwin.h (STARTFILE_SPEC): Explicitly search
+       sysroot/usr/lib/32api for additional win32 libraries,
+       fixes failing Cygwin bootstrapping.
+
 2015-09-21  Oleg Endo  <olegendo@gcc.gnu.org>
 
        * doc/invoke.texi (SH Options): Undocument SH5/SH64 related options.
index 2186937..d1b6bc5 100644 (file)
@@ -39,6 +39,7 @@ along with GCC; see the file COPYING3.  If not see
 
 #undef STARTFILE_SPEC
 #define STARTFILE_SPEC "\
+  -L%R/usr/lib/w32api \
   %{!shared: %{!mdll: crt0%O%s \
   %{pg:gcrt0%O%s}}}\
   %{shared:crtbeginS.o%s;:crtbegin.o%s} \