summaryrefslogtreecommitdiffstats
path: root/gcc49-default-manifest.patch
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2014-06-10 15:05:23 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2014-06-10 15:05:23 -0500
commit3894d909e48c302c358eefa4981830b076e3e972 (patch)
tree63f32b8850c8c638551114209c4f07b9adfd93f3 /gcc49-default-manifest.patch
parentb7a08e809ac4ba3b76b691f54391cfbf39d11847 (diff)
downloadcygwin-gcc-3894d909e48c302c358eefa4981830b076e3e972.tar.gz
cygwin-gcc-3894d909e48c302c358eefa4981830b076e3e972.tar.xz
cygwin-gcc-3894d909e48c302c358eefa4981830b076e3e972.zip
cygwin-gcc 4.8.3
Diffstat (limited to 'gcc49-default-manifest.patch')
-rw-r--r--gcc49-default-manifest.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/gcc49-default-manifest.patch b/gcc49-default-manifest.patch
new file mode 100644
index 0000000..afb2c77
--- /dev/null
+++ b/gcc49-default-manifest.patch
@@ -0,0 +1,31 @@
+2014-04-23 Nick Clifton <nickc@redhat.com>
+
+ * config/i386/cygwin.h (ENDFILE_SPEC): Include
+ default-manifest.o if it can be found in the search path.
+ * config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
+
+Index: gcc/config/i386/cygwin.h
+===================================================================
+--- gcc/config/i386/cygwin.h (revision 209670)
++++ gcc/config/i386/cygwin.h (working copy)
+@@ -45,6 +45,7 @@
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+ "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s}\
++ %{!shared:%:if-exists(default-manifest.o%s)}\
+ crtend.o%s"
+
+ /* Normally, -lgcc is not needed since everything in it is in the DLL, but we
+Index: gcc/config/i386/mingw32.h
+===================================================================
+--- gcc/config/i386/mingw32.h (revision 209670)
++++ gcc/config/i386/mingw32.h (working copy)
+@@ -148,6 +148,7 @@
+ #undef ENDFILE_SPEC
+ #define ENDFILE_SPEC \
+ "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
++ %{!shared:%:if-exists(default-manifest.o%s)}\
+ crtend.o%s"
+
+ /* Override startfile prefix defaults. */
+