From 7f6d0b87098b154bc36c4aa340df23844f8933b2 Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Thu, 20 Jun 2024 23:55:46 -0700 Subject: [PATCH] Support -x LANG flag in cosmocc --- tool/cosmocc/bin/cosmocc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tool/cosmocc/bin/cosmocc b/tool/cosmocc/bin/cosmocc index a6f350c2c..d27802332 100755 --- a/tool/cosmocc/bin/cosmocc +++ b/tool/cosmocc/bin/cosmocc @@ -201,7 +201,8 @@ for x; do elif [ x"$x" = x"-dumpversion" ]; then echo $GCC_VERSION Exit 0 - elif [ x"$x" = x"-e" ] || + elif [ x"$x" = x"-x" ] || + [ x"$x" = x"-e" ] || [ x"$x" = x"-z" ] || [ x"$x" = x"-T" ] || [ x"$x" = x"-L" ] ||