No longer depend on /bin/arch
This commit is contained in:
parent
52fd06595a
commit
371240c8b9
@ -67,10 +67,8 @@ then
|
||||
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
|
||||
fi
|
||||
if [ -f /bin/arch ]
|
||||
then
|
||||
case `/bin/arch` in
|
||||
sun3|sun4)
|
||||
case $ACM in
|
||||
sun3|sparc)
|
||||
ed - make_macros <<'EOF'
|
||||
/cc-and-mkdep.sun/s/^..//
|
||||
w
|
||||
@ -78,7 +76,6 @@ q
|
||||
EOF
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
cat $FDIR/util_comp >> make_macros
|
||||
else
|
||||
case $know_target in
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user