aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/configure.in b/gas/configure.in
index 3810bd1..525163e 100644
--- a/gas/configure.in
+++ b/gas/configure.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