| ... | @@ -842,10 +842,10 @@ pub const LibExeObjStep = struct { | ... | @@ -842,10 +842,10 @@ pub const LibExeObjStep = struct { |
| 842 | lib_paths: ArrayList([]const u8), | 842 | lib_paths: ArrayList([]const u8), |
| 843 | disable_libc: bool, | 843 | disable_libc: bool, |
| 844 | frameworks: BufSet, | 844 | frameworks: BufSet, |
| | 845 | verbose_link: bool, |
| 845 | | 846 | |
| 846 | // zig only stuff | 847 | // zig only stuff |
| 847 | root_src: ?[]const u8, | 848 | root_src: ?[]const u8, |
| 848 | verbose: bool, | | |
| 849 | output_h_path: ?[]const u8, | 849 | output_h_path: ?[]const u8, |
| 850 | out_h_filename: []const u8, | 850 | out_h_filename: []const u8, |
| 851 | assembly_files: ArrayList([]const u8), | 851 | assembly_files: ArrayList([]const u8), |
| ... | @@ -923,7 +923,7 @@ pub const LibExeObjStep = struct { | ... | @@ -923,7 +923,7 @@ pub const LibExeObjStep = struct { |
| 923 | var self = LibExeObjStep { | 923 | var self = LibExeObjStep { |
| 924 | .strip = false, | 924 | .strip = false, |
| 925 | .builder = builder, | 925 | .builder = builder, |
| 926 | .verbose = false, | 926 | .verbose_link = false, |
| 927 | .build_mode = builtin.Mode.Debug, | 927 | .build_mode = builtin.Mode.Debug, |
| 928 | .static = static, | 928 | .static = static, |
| 929 | .kind = kind, | 929 | .kind = kind, |
| ... | @@ -988,7 +988,7 @@ pub const LibExeObjStep = struct { | ... | @@ -988,7 +988,7 @@ pub const LibExeObjStep = struct { |
| 988 | .linker_script = null, | 988 | .linker_script = null, |
| 989 | | 989 | |
| 990 | .root_src = undefined, | 990 | .root_src = undefined, |
| 991 | .verbose = undefined, | 991 | .verbose_link = false, |
| 992 | .output_h_path = undefined, | 992 | .output_h_path = undefined, |
| 993 | .out_h_filename = undefined, | 993 | .out_h_filename = undefined, |
| 994 | .assembly_files = undefined, | 994 | .assembly_files = undefined, |
| ... | @@ -1087,8 +1087,8 @@ pub const LibExeObjStep = struct { | ... | @@ -1087,8 +1087,8 @@ pub const LibExeObjStep = struct { |
| 1087 | %%self.source_files.append(file); | 1087 | %%self.source_files.append(file); |
| 1088 | } | 1088 | } |
| 1089 | | 1089 | |
| 1090 | pub fn setVerbose(self: &LibExeObjStep, value: bool) { | 1090 | pub fn setVerboseLink(self: &LibExeObjStep, value: bool) { |
| 1091 | self.verbose = value; | 1091 | self.verbose_link = value; |
| 1092 | } | 1092 | } |
| 1093 | | 1093 | |
| 1094 | pub fn setBuildMode(self: &LibExeObjStep, mode: builtin.Mode) { | 1094 | pub fn setBuildMode(self: &LibExeObjStep, mode: builtin.Mode) { |
| ... | @@ -1223,15 +1223,12 @@ pub const LibExeObjStep = struct { | ... | @@ -1223,15 +1223,12 @@ pub const LibExeObjStep = struct { |
| 1223 | %%zig_args.append(builder.pathFromRoot(asm_file)); | 1223 | %%zig_args.append(builder.pathFromRoot(asm_file)); |
| 1224 | } | 1224 | } |
| 1225 | | 1225 | |
| 1226 | if (self.verbose) { | | |
| 1227 | %%zig_args.append("--verbose"); | | |
| 1228 | } | | |
| 1229 | if (builder.verbose_tokenize) %%zig_args.append("--verbose-tokenize"); | 1226 | if (builder.verbose_tokenize) %%zig_args.append("--verbose-tokenize"); |
| 1230 | if (builder.verbose_ast) %%zig_args.append("--verbose-ast"); | 1227 | if (builder.verbose_ast) %%zig_args.append("--verbose-ast"); |
| 1231 | if (builder.verbose_cimport) %%zig_args.append("--verbose-cimport"); | 1228 | if (builder.verbose_cimport) %%zig_args.append("--verbose-cimport"); |
| 1232 | if (builder.verbose_ir) %%zig_args.append("--verbose-ir"); | 1229 | if (builder.verbose_ir) %%zig_args.append("--verbose-ir"); |
| 1233 | if (builder.verbose_llvm_ir) %%zig_args.append("--verbose-llvm-ir"); | 1230 | if (builder.verbose_llvm_ir) %%zig_args.append("--verbose-llvm-ir"); |
| 1234 | if (builder.verbose_link) %%zig_args.append("--verbose-link"); | 1231 | if (builder.verbose_link or self.verbose_link) %%zig_args.append("--verbose-link"); |
| 1235 | | 1232 | |
| 1236 | if (self.strip) { | 1233 | if (self.strip) { |
| 1237 | %%zig_args.append("--strip"); | 1234 | %%zig_args.append("--strip"); |