From cf8893450804010c5d0a1c46784da6ec1d64f993 Mon Sep 17 00:00:00 2001 From: A2va <49582555+A2va@users.noreply.github.com> Date: Fri, 28 Mar 2025 22:37:03 +0100 Subject: [PATCH] cosmocc cannot compile assembly --- src/tbox/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tbox/xmake.lua b/src/tbox/xmake.lua index d96734f88..abf7a82a8 100644 --- a/src/tbox/xmake.lua +++ b/src/tbox/xmake.lua @@ -85,7 +85,7 @@ target("tbox") -- add the source files for the hash module if has_config("hash") then add_files("hash/*.c") - if not is_plat("windows") and not has_config("cosmocc") then + if not is_plat("windows") and not has_config("cosmocc") and not is_config("toolchain", "cosmocc") then add_files("hash/arch/crc32.S") end end