From a46ec6178797700e659782b1211f0b5e41bdbbba Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Thu, 2 Nov 2023 09:52:25 -0700 Subject: [PATCH] Make cosmocc -dumpmachine work correctly --- bin/cosmocc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/cosmocc b/bin/cosmocc index 4283d1c82..73705703c 100755 --- a/bin/cosmocc +++ b/bin/cosmocc @@ -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