Commit 7cc4176448
Changed files (3)
src/clang_options_data.zig
@@ -4978,7 +4978,14 @@ joinpd1("fdiagnostics-show-category="),
joinpd1("fdiagnostics-show-location="),
joinpd1("fopenmp-cuda-blocks-per-sm="),
jspd1("fxray-instruction-threshold"),
-joinpd1("headerpad_max_install_names"),
+.{
+ .name = "headerpad_max_install_names",
+ .syntax = .joined,
+ .zig_equivalent = .headerpad_max_install_names,
+ .pd1 = true,
+ .pd2 = false,
+ .psl = false,
+},
.{
.name = "libomptarget-nvptx-bc-path=",
.syntax = .joined,
src/main.zig
@@ -1627,6 +1627,7 @@ fn buildOutputType(
},
.weak_library => try system_libs.put(it.only_arg, .{ .weak = true }),
.weak_framework => try frameworks.put(gpa, it.only_arg, .{ .weak = true }),
+ .headerpad_max_install_names => headerpad_max_install_names = true,
}
}
// Parse linker args.
@@ -4581,6 +4582,7 @@ pub const ClangArgIterator = struct {
entry,
weak_library,
weak_framework,
+ headerpad_max_install_names,
};
const Args = struct {
tools/update_clang_options.zig
@@ -444,6 +444,10 @@ const known_options = [_]KnownOpt{
.name = "weak_framework",
.ident = "weak_framework",
},
+ .{
+ .name = "headerpad_max_install_names",
+ .ident = "headerpad_max_install_names",
+ },
};
const blacklisted_options = [_][]const u8{};