summaryrefslogtreecommitdiff
path: root/packages/gcc/files/pr35916-mingw-__USE_MINGW_ACCESS-everywhere.patch
diff options
context:
space:
mode:
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