diff options
author | rwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-21 19:55:39 +0000 |
---|---|---|
committer | rwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-21 19:55:39 +0000 |
commit | d45cdac24ff8ed805609e8e137023115ab51f293 (patch) | |
tree | 1b543889a47507112966066b615a9bdb63621d72 /gcc/config.build | |
parent | f3cb8b1d5be6522e10d1c41822c7eff819e329b1 (diff) | |
download | gcc-d45cdac24ff8ed805609e8e137023115ab51f293.tar.gz |
PR bootstrap/35273
* config.build (build_file_translate): Set to `CMD //c' only if
it works.
* Makefile.in (build_file_translate): Improve comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132528 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.build')
-rw-r--r-- | gcc/config.build | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/config.build b/gcc/config.build index 62486db58b4..d08143493d9 100644 --- a/gcc/config.build +++ b/gcc/config.build @@ -1,5 +1,5 @@ # GCC build-specific configuration file. -# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2007 +# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2007, 2008 # Free Software Foundation, Inc. #This file is part of GCC. @@ -80,7 +80,11 @@ case $build in i[34567]86-*-mingw32* | x86_64-*-mingw*) build_xm_file=i386/xm-mingw32.h build_exeext=.exe - build_file_translate="CMD //C" + t=`(CMD //c echo /c) 2>/dev/null` + case $t in ?:*) + build_file_translate="CMD //c" + ;; + esac ;; i[34567]86-pc-msdosdjgpp*) build_xm_file=i386/xm-djgpp.h |