diff --git a/ChangeLog b/ChangeLog index eefe51a5c79..c62909b05e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-09-06 Francois-Xavier Coudert + + PR target/33281 + * configure.ac: Use config/mh-mingw on mingw. + * configure: Regenerate. + * config/mh-mingw: New host makefile fragment. + 2007-09-05 Pat Haugen * MAINTAINERS (Write After Approval): Add myself. diff --git a/config/mh-mingw b/config/mh-mingw new file mode 100644 index 00000000000..71864997e53 --- /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 dd12627fcd4..64ce7cffb69 100755 --- a/configure +++ b/configure @@ -2698,8 +2698,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 57de10003ff..b0eabdd3df4 100644 --- a/configure.ac +++ b/configure.ac @@ -974,8 +974,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"