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 3810bd12d888e79df61ff50bae79407aa582753a..525163e52babf7d2a33c82b1c62d864ad8c77752 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