default the build machine triplet, if it is not provided

From-SVN: r37979
This commit is contained in:
Bruce Korb 2000-12-03 20:40:17 +00:00 committed by Bruce Korb
parent 3769600a84
commit 5c032c4d31
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2000-12-03 Bruce Korb <bkorb@gcc.org>
* fixinc/mkfixinc.sh(build machine): Sometimes, there is no canonical
build machine name. Default to the target.
2000-12-03 Laurynas Biveinis <lauras@softhome.net>
* Makefile.in: use $(build_canonical), not $(canonical_build).

View File

@ -5,14 +5,16 @@ machine=$2
if [ -z "$build" ]
then
echo No build system name given
exit 1
echo No target system name given
exit 1
fi
# If we don't get two arguments, then assume both arguments
# are the same
#
if [ -z "$machine" ]
then
echo No machine name given
exit 1
machine="$build"
fi
target=../fixinc.sh