diff --git a/tool/cosmocc/bin/cosmocc b/tool/cosmocc/bin/cosmocc index 8ee4cf364..1cbb13ff1 100755 --- a/tool/cosmocc/bin/cosmocc +++ b/tool/cosmocc/bin/cosmocc @@ -141,6 +141,18 @@ for x; do elif [ x"$x" != x"${x#-MF}" ]; then # startswith(x, "-MF") DEPENDENCY_OUTPUT=${x#-MF} continue + elif [ x"$x" = x"-MQ" ]; then + NEED_DEPENDENCY_OUTPUT=1 + continue + elif [ x"$x" = x"-Wl,--version" ]; then + cat <