Make cosmocc -dumpmachine work correctly

This commit is contained in:
Justine Tunney 2023-11-02 09:52:25 -07:00
parent 024be3b009
commit a46ec61787
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -295,6 +295,8 @@ for x; do
exit 0
elif [ x"$x" = x"-Wl,--version" ]; then
GOT_SOME=1
elif [ x"$x" = x"-dumpmachine" ]; then
GOT_SOME=1
fi
set -- "$@" "$x"
done