From 2d441424443327b9d143a1157ece8587509de05f Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Mon, 19 Aug 2024 08:40:18 -0700 Subject: [PATCH] Get Meson builds working See #917 --- tool/cosmocc/bin/cosmocc | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 <