aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-07-05 15:21:20 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-07-05 15:21:20 -0700
commit2ee864ca5eb46468e8e0f4237a5532b76b60d715 (patch)
treea70213c0c4c9f5c861e4c784e5980d6b60fea08d /tools
parent927e59d0532c77e2fb3ead0c9c4f7ead0454785a (diff)
downloadzig-2ee864ca5eb46468e8e0f4237a5532b76b60d715.tar.gz
zig-2ee864ca5eb46468e8e0f4237a5532b76b60d715.zip
CLI: add support for -fno-builtin
Diffstat (limited to 'tools')
-rw-r--r--tools/update_clang_options.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/update_clang_options.zig b/tools/update_clang_options.zig
index 6bf4c47ebc..fc460d8744 100644
--- a/tools/update_clang_options.zig
+++ b/tools/update_clang_options.zig
@@ -321,6 +321,14 @@ const known_options = [_]KnownOpt{
.ident = "no_function_sections",
},
.{
+ .name = "fbuiltin",
+ .ident = "builtin",
+ },
+ .{
+ .name = "fno-builtin",
+ .ident = "no_builtin",
+ },
+ .{
.name = "fcolor-diagnostics",
.ident = "color_diagnostics",
},