mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
detect target in tests
This commit is contained in:
parent
2416d29141
commit
cec9855fa0
@ -83,6 +83,7 @@ init() {
|
|||||||
testcc "$cc" || cc="cc"
|
testcc "$cc" || cc="cc"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
TARGET=`$bin -t?`
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown target '$TARGET'."
|
echo "Unknown target '$TARGET'."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user