default the build machine triplet, if it is not provided
From-SVN: r37979
This commit is contained in:
parent
3769600a84
commit
5c032c4d31
|
@ -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).
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue