From: ktietz Date: Mon, 21 Sep 2015 09:58:44 +0000 (+0000) Subject: 2015-09-21 Jonathan Yong <10walls@gmail.com> X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c1b7008c95f97dd7c11997e7be7be7b58d113db0;p=thirdparty%2Fgcc.git 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227962 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d9682b70bc9f..6c79ba8833d0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 * doc/invoke.texi (SH Options): Undocument SH5/SH64 related options. diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h index 2186937849a7..d1b6bc51b534 100644 --- a/gcc/config/i386/cygwin.h +++ b/gcc/config/i386/cygwin.h @@ -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} \