summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2007-09-11 13:10:20 +0000
committerAndrew Haley <aph@redhat.com>2007-09-11 13:10:20 +0000
commit9f3fb301ecbb3e4cb81caae86cc1e42784d43c53 (patch)
treee098020f0e0a0b7ce98a00ee243816127e4aefcc
parentb5328549a7a9173e65bddf3a59e5e2d473e66784 (diff)
downloadbinutils-redhat-9f3fb301ecbb3e4cb81caae86cc1e42784d43c53.tar.gz
2007-09-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR target/33281 * configure.ac: Use config/mh-mingw on mingw. * configure: Regenerate. * config/mh-mingw: New host makefile fragment.
-rw-r--r--ChangeLog7
-rw-r--r--config/mh-mingw3
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
4 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index bcb3630fce..47d7e986d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-09-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR target/33281
+ * configure.ac: Use config/mh-mingw on mingw.
+ * configure: Regenerate.
+ * config/mh-mingw: New host makefile fragment.
+
2007-09-10 Rask Ingemann Lambertsen <rask@sygehus.dk>
PR other/32154
diff --git a/config/mh-mingw b/config/mh-mingw
new file mode 100644
index 0000000000..71864997e5
--- /dev/null
+++ b/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
diff --git a/configure b/configure
index 6806e580b9..6911e011b0 100755
--- a/configure
+++ b/configure
@@ -2726,8 +2726,10 @@ case "${host}" in
host_makefile_frag="config/mh-cygwin"
;;
*-mingw32*)
+ host_makefile_frag="config/mh-mingw"
;;
*-mingw64*)
+ host_makefile_frag="config/mh-mingw"
;;
*-interix*)
host_makefile_frag="config/mh-interix"
diff --git a/configure.ac b/configure.ac
index 27c512e72b..fb8f7102a8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1002,8 +1002,10 @@ case "${host}" in
host_makefile_frag="config/mh-cygwin"
;;
*-mingw32*)
+ host_makefile_frag="config/mh-mingw"
;;
*-mingw64*)
+ host_makefile_frag="config/mh-mingw"
;;
*-interix*)
host_makefile_frag="config/mh-interix"