summaryrefslogtreecommitdiff
path: root/packages/gcc/files/pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-01-16 23:10:09 -0500
committerTom Rini <trini@embeddedalley.com>2009-01-16 23:15:52 -0500
commit2378bfca9bbb2cd7cf488a4e74c780ff6ea1f010 (patch)
tree25284cc310ccfb9d512ba9df30e33938cf48b5de /packages/gcc/files/pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch
parent23633fdd4b216a8117b203ec02d86a187f76616a (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/pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch')
-rw-r--r--packages/gcc/files/pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/gcc/files/pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch b/packages/gcc/files/pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch
new file mode 100644
index 0000000000..faf44c27f9
--- /dev/null
+++ b/packages/gcc/files/pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch
@@ -0,0 +1,13 @@
+---
+ config/mh-mingw | 1 +
+ 1 file changed, 1 insertion(+)
+
+Index: gcc-4.2.3/config/mh-mingw
+===================================================================
+--- gcc-4.2.3.orig/config/mh-mingw
++++ gcc-4.2.3/config/mh-mingw
+@@ -1,3 +1,4 @@
+ # 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
++CFLAGS += -D__USE_MINGW_ACCESS