From 0edd8ff4b884eebc30ab04870ab0ea2bb9e4bb60 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 15 Dec 2025 22:41:55 +0800 Subject: improve cosmocc for binutils --- xmake/modules/cli/binutils/bin2obj.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xmake/modules/cli') diff --git a/xmake/modules/cli/binutils/bin2obj.lua b/xmake/modules/cli/binutils/bin2obj.lua index 6ee6c2158..06493143a 100644 --- a/xmake/modules/cli/binutils/bin2obj.lua +++ b/xmake/modules/cli/binutils/bin2obj.lua @@ -31,7 +31,8 @@ local options = { {'p', "plat", "kv", nil, "Set the target platform (macosx, iphoneos, etc.)."}, {nil, "target_minver", "kv", nil, "Set the target minimum version (e.g., 10.0, 18.2)."}, {nil, "xcode_sdkver", "kv", nil, "Set the Xcode SDK version (e.g., 10.0, 18.2)."}, - {nil, "zeroend", "k", nil, "Append a null terminator ('\\0') at the end of data."} + {nil, "zeroend", "k", nil, "Append a null terminator ('\\0') at the end of data."}, + {nil, "cosmocc", "k", nil, "Enable cosmocc support (generate concomitant object file)."} } function main(...) -- cgit v1.3.1