From: Bruce Korb Date: Sun, 3 Dec 2000 20:40:17 +0000 (+0000) Subject: default the build machine triplet, if it is not provided X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c032c4d313a81edc57e95fc5b260fa4022d7f46;p=gcc.git default the build machine triplet, if it is not provided From-SVN: r37979 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ffacec7b40b..329031494ec 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-12-03 Bruce Korb + + * fixinc/mkfixinc.sh(build machine): Sometimes, there is no canonical + build machine name. Default to the target. + 2000-12-03 Laurynas Biveinis * Makefile.in: use $(build_canonical), not $(canonical_build). diff --git a/gcc/fixinc/mkfixinc.sh b/gcc/fixinc/mkfixinc.sh index 0129157f84a..16e8624655e 100755 --- a/gcc/fixinc/mkfixinc.sh +++ b/gcc/fixinc/mkfixinc.sh @@ -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