diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2007-10-01 07:15:42 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gcc.gnu.org> | 2007-10-01 07:15:42 +0000 |
commit | 0999159b4f3ac66605778b882808f8e00a012cab (patch) | |
tree | 3bc8dc1f59c1d44a4e9cff876809f2b0c33b1246 /Makefile.tpl | |
parent | c2ffa91a3ac3f757f2d39141bad4d4bc667df452 (diff) | |
download | gcc-0999159b4f3ac66605778b882808f8e00a012cab.zip gcc-0999159b4f3ac66605778b882808f8e00a012cab.tar.gz gcc-0999159b4f3ac66605778b882808f8e00a012cab.tar.bz2 |
Makefile.tpl (AR_FOR_BUILD, [...]): Use autoconf substitutions.
2007-10-01 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (AR_FOR_BUILD, AS_FOR_BUILD, CXX_FOR_BUILD,
DLLTOOL_FOR_BUILD, GCJ_FOR_BUILD, GFORTRAN_FOR_BUILD,
LDFLAGS_FOR_BUILD, LD_FOR_BUILD, NM_FOR_BUILD, RANLIB_FOR_BUILD,
WINDMC_FOR_BUILD, WINDRES_FOR_BUILD): Use autoconf substitutions.
* configure.ac: Default them to host tools for $host = $build.
Subst them.
* configure: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r128902
Diffstat (limited to 'Makefile.tpl')
-rw-r--r-- | Makefile.tpl | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Makefile.tpl b/Makefile.tpl index cf97961..9d23058 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -254,10 +254,21 @@ PWD_COMMAND = $${PWDCMD-pwd} # compilers to use to create programs which must be run in the build # environment. +AR_FOR_BUILD = @AR_FOR_BUILD@ +AS_FOR_BUILD = @AS_FOR_BUILD@ CC_FOR_BUILD = @CC_FOR_BUILD@ CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ - -CXX_FOR_BUILD = $(CXX) +CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@ +CXX_FOR_BUILD = @CXX_FOR_BUILD@ +DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@ +GCJ_FOR_BUILD = @GCJ_FOR_BUILD@ +GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@ +LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ +LD_FOR_BUILD = @LD_FOR_BUILD@ +NM_FOR_BUILD = @NM_FOR_BUILD@ +RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@ +WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@ +WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@ # Special variables passed down in EXTRA_GCC_FLAGS. They are defined # here so that they can be overridden by Makefile fragments. |