aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-03-26 22:48:37 -0400
committerAndrew Kelley <andrew@ziglang.org>2020-03-26 22:48:37 -0400
commitdb17c0d88c44183b3060993d85657e7637b43d68 (patch)
tree5a267a81e6e28ecc1e46842696fd735a24757845 /tools
parented0dbe1a64a80dc329daab3776bda9d3fa54c9f8 (diff)
downloadzig-db17c0d88c44183b3060993d85657e7637b43d68.tar.gz
zig-db17c0d88c44183b3060993d85657e7637b43d68.zip
ability to compile c++ hello world with `zig c++`
closes #4786
Diffstat (limited to 'tools')
-rw-r--r--tools/update_clang_options.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/update_clang_options.zig b/tools/update_clang_options.zig
index 97be4978d2..46f2275b69 100644
--- a/tools/update_clang_options.zig
+++ b/tools/update_clang_options.zig
@@ -63,6 +63,10 @@ const known_options = [_]KnownOpt{
.ident = "nostdlib",
},
.{
+ .name = "nostdlib++",
+ .ident = "nostdlib_cpp",
+ },
+ .{
.name = "shared",
.ident = "shared",
},