diff options
author | Tom Rini <trini@embeddedalley.com> | 2009-01-16 23:10:09 -0500 |
---|---|---|
committer | Tom Rini <trini@embeddedalley.com> | 2009-01-16 23:15:52 -0500 |
commit | 2378bfca9bbb2cd7cf488a4e74c780ff6ea1f010 (patch) | |
tree | 25284cc310ccfb9d512ba9df30e33938cf48b5de /packages/gcc/files/pr33281-mingw-host-fragment.patch | |
parent | 23633fdd4b216a8117b203ec02d86a187f76616a (diff) |
gcc-canadian-sdk: Add a version of gcc 4.2.4 for building Canadian SDKs.
With this, add some patches specific to fixing up MinGW issues on 4.2.x
Diffstat (limited to 'packages/gcc/files/pr33281-mingw-host-fragment.patch')
-rw-r--r-- | packages/gcc/files/pr33281-mingw-host-fragment.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/gcc/files/pr33281-mingw-host-fragment.patch b/packages/gcc/files/pr33281-mingw-host-fragment.patch new file mode 100644 index 0000000000..e16fb4464a --- /dev/null +++ b/packages/gcc/files/pr33281-mingw-host-fragment.patch @@ -0,0 +1,38 @@ +--- + config/mh-mingw | 3 +++ + configure | 1 + + configure.in | 1 + + 3 files changed, 5 insertions(+) + +Index: gcc-4.2.3/config/mh-mingw +=================================================================== +--- /dev/null ++++ gcc-4.2.3/config/mh-mingw +@@ -0,0 +1,3 @@ ++# Add -D__USE_MINGW_ACCESS to enable the built compiler to work on Windows ++# Vista (see PR33281 for details). ++BOOT_CFLAGS += -D__USE_MINGW_ACCESS +Index: gcc-4.2.3/configure.in +=================================================================== +--- gcc-4.2.3.orig/configure.in ++++ gcc-4.2.3/configure.in +@@ -929,6 +929,7 @@ case "${host}" in + host_makefile_frag="config/mh-cygwin" + ;; + *-mingw32*) ++ host_makefile_frag="config/mh-mingw" + ;; + *-interix*) + host_makefile_frag="config/mh-interix" +Index: gcc-4.2.3/configure +=================================================================== +--- gcc-4.2.3.orig/configure ++++ gcc-4.2.3/configure +@@ -1769,6 +1769,7 @@ case "${host}" in + host_makefile_frag="config/mh-cygwin" + ;; + *-mingw32*) ++ host_makefile_frag="config/mh-mingw" + ;; + *-interix*) + host_makefile_frag="config/mh-interix" |