put CROSS definition into the Makefile

This commit is contained in:
David D. Zuhn 1993-07-08 19:19:31 +00:00
parent b25654337a
commit 00a737d37c
1 changed files with 2 additions and 2 deletions

View File

@ -263,10 +263,10 @@ case ${need_bfd} in
;;
esac
if [ x${host} = x${target} ] ; then
if [ x${host} != x${target} ] ; then
rm -f Makefile.tem
mv Makefile Makefile.tem
echo CROSS=-DCROSS_COMPILE
echo CROSS=-DCROSS_COMPILE > Makefile
cat Makefile.tem >> Makefile
rm -f Makefile.tem
else