From c2c1998269f8a92e39c14dabb68b253c012d56ef Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Tue, 28 Jun 2022 21:16:19 +0200 Subject: clang: update cmdline options to include weak libs and frameworks Clang accepts `-weak-lx`, `-weak_library x` and `-weak_framework x`. --- tools/update_clang_options.zig | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tools') 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{}; -- cgit v1.2.3