aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/cygwin.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d9682b7..6c79ba8 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 <olegendo@gcc.gnu.org>
* 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 2186937..d1b6bc5 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} \