From be10a6b1321f250b1034c7d9d0a8ef18b296eef1 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 2 Nov 2010 22:03:58 +0100 Subject: angstrom-layers: meta-openembedded: replace poky gcc 4.5 sources with OE ones This needs further investigation, but for now we can get the tested sources into the poky gcc harness Signed-off-by: Koen Kooi --- .../gcc/files/pr33281-mingw-host-fragment.patch | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 recipes-devtools/gcc/files/pr33281-mingw-host-fragment.patch (limited to 'recipes-devtools/gcc/files/pr33281-mingw-host-fragment.patch') diff --git a/recipes-devtools/gcc/files/pr33281-mingw-host-fragment.patch b/recipes-devtools/gcc/files/pr33281-mingw-host-fragment.patch new file mode 100644 index 0000000000..e16fb4464a --- /dev/null +++ b/recipes-devtools/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" -- cgit v1.2.3-54-g00ecf