diff options
| author | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-03 20:40:17 +0000 |
|---|---|---|
| committer | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-12-03 20:40:17 +0000 |
| commit | 976201bae2377efee89a1ff077d228513b326af0 (patch) | |
| tree | 0b8347397ea3e4e37727ad4dbc31c3e732b5ab4b | |
| parent | 72f26d482dfeeb578a978167f4a91ab354ab3d98 (diff) | |
| download | ppe42-gcc-976201bae2377efee89a1ff077d228513b326af0.tar.gz ppe42-gcc-976201bae2377efee89a1ff077d228513b326af0.zip | |
default the build machine triplet, if it is not provided
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37979 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rwxr-xr-x | gcc/fixinc/mkfixinc.sh | 10 |
2 files changed, 11 insertions, 4 deletions
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 <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). 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 |

