diff options
| author | ruki <[email protected]> | 2025-12-15 22:41:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-15 22:41:55 +0800 |
| commit | 0edd8ff4b884eebc30ab04870ab0ea2bb9e4bb60 (patch) | |
| tree | 84a39e33c6483f459e5b97cc3b46e9619bb3e9db /xmake/modules/cli | |
| parent | f23872ba7f507474cd3ee77e718f3ff5e30035a9 (diff) | |
improve cosmocc for binutils
Diffstat (limited to 'xmake/modules/cli')
| -rw-r--r-- | xmake/modules/cli/binutils/bin2obj.lua | 3 |
1 files changed, 2 insertions, 1 deletions
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(...) |
