aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.in
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1993-07-08 19:19:31 +0000
committerDavid D. Zuhn <zoo@cygnus>1993-07-08 19:19:31 +0000
commit00a737d37c21ccbf3da29b6b559b574cf5b98aa2 (patch)
tree4ef80d24f1553f7b13db35140bb2ec4a1647ded4 /gas/configure.in
parentb25654337a2e2d8d56ea611618fccbd240f0c37a (diff)
downloadgdb-00a737d37c21ccbf3da29b6b559b574cf5b98aa2.zip
gdb-00a737d37c21ccbf3da29b6b559b574cf5b98aa2.tar.gz
gdb-00a737d37c21ccbf3da29b6b559b574cf5b98aa2.tar.bz2
put CROSS definition into the Makefile
Diffstat (limited to 'gas/configure.in')
-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