Commit 5c032c4d by Bruce Korb Committed by Bruce Korb

default the build machine triplet, if it is not provided

From-SVN: r37979
parent 3769600a
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> 2000-12-03 Laurynas Biveinis <lauras@softhome.net>
* Makefile.in: use $(build_canonical), not $(canonical_build). * Makefile.in: use $(build_canonical), not $(canonical_build).
......
...@@ -5,14 +5,16 @@ machine=$2 ...@@ -5,14 +5,16 @@ machine=$2
if [ -z "$build" ] if [ -z "$build" ]
then then
echo No build system name given echo No target system name given
exit 1 exit 1
fi fi
# If we don't get two arguments, then assume both arguments
# are the same
#
if [ -z "$machine" ] if [ -z "$machine" ]
then then
echo No machine name given machine="$build"
exit 1
fi fi
target=../fixinc.sh target=../fixinc.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment