No longer depend on /bin/arch
This commit is contained in:
parent
b95ae2fa70
commit
5b5323894e
|
@ -67,10 +67,8 @@ then
|
||||||
else
|
else
|
||||||
sed -e "s/^COPTIONS.*\$/COPTIONS=-O -D_EM_WSIZE=$WS -D_EM_PSIZE=$PS -D__${MACH}__/" -e "s/^# RANLIB=:/RANLIB=:/" < $FDIR/target_comp >> make_macros
|
sed -e "s/^COPTIONS.*\$/COPTIONS=-O -D_EM_WSIZE=$WS -D_EM_PSIZE=$PS -D__${MACH}__/" -e "s/^# RANLIB=:/RANLIB=:/" < $FDIR/target_comp >> make_macros
|
||||||
fi
|
fi
|
||||||
if [ -f /bin/arch ]
|
case $ACM in
|
||||||
then
|
sun3|sparc)
|
||||||
case `/bin/arch` in
|
|
||||||
sun3|sun4)
|
|
||||||
ed - make_macros <<'EOF'
|
ed - make_macros <<'EOF'
|
||||||
/cc-and-mkdep.sun/s/^..//
|
/cc-and-mkdep.sun/s/^..//
|
||||||
w
|
w
|
||||||
|
@ -78,7 +76,6 @@ q
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
|
||||||
cat $FDIR/util_comp >> make_macros
|
cat $FDIR/util_comp >> make_macros
|
||||||
else
|
else
|
||||||
case $know_target in
|
case $know_target in
|
||||||
|
|
Loading…
Reference in a new issue