diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-06-28 21:16:19 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-06-28 21:16:23 +0200 |
| commit | c2c1998269f8a92e39c14dabb68b253c012d56ef (patch) | |
| tree | 5eefcb02f0fbfbfc1ef96048e844414807622f31 /tools | |
| parent | c02dc17618637139a5fc704c5c42723984398665 (diff) | |
| download | zig-c2c1998269f8a92e39c14dabb68b253c012d56ef.tar.gz zig-c2c1998269f8a92e39c14dabb68b253c012d56ef.zip | |
clang: update cmdline options to include weak libs and frameworks
Clang accepts `-weak-lx`, `-weak_library x` and `-weak_framework x`.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/update_clang_options.zig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/update_clang_options.zig b/tools/update_clang_options.zig index 0a8b00537c..b003a1bbb9 100644 --- a/tools/update_clang_options.zig +++ b/tools/update_clang_options.zig @@ -432,6 +432,18 @@ const known_options = [_]KnownOpt{ .name = "e", .ident = "entry", }, + .{ + .name = "weak-l", + .ident = "weak_library", + }, + .{ + .name = "weak_library", + .ident = "weak_library", + }, + .{ + .name = "weak_framework", + .ident = "weak_framework", + }, }; const blacklisted_options = [_][]const u8{}; |
