put CROSS definition into the Makefile
authorDavid D. Zuhn <zoo@cygnus>
Thu, 8 Jul 1993 19:19:31 +0000 (19:19 +0000)
committerDavid D. Zuhn <zoo@cygnus>
Thu, 8 Jul 1993 19:19:31 +0000 (19:19 +0000)
gas/configure.in

index 3810bd1..525163e 100644 (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