mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
put CROSS definition into the Makefile
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user