| ... | @@ -1151,6 +1151,7 @@ pub const LibExeObjStep = struct { | ... | @@ -1151,6 +1151,7 @@ pub const LibExeObjStep = struct { |
| 1151 | bundle_compiler_rt: bool, | 1151 | bundle_compiler_rt: bool, |
| 1152 | disable_stack_probing: bool, | 1152 | disable_stack_probing: bool, |
| 1153 | disable_sanitize_c: bool, | 1153 | disable_sanitize_c: bool, |
| | 1154 | rdynamic: bool, |
| 1154 | c_std: Builder.CStd, | 1155 | c_std: Builder.CStd, |
| 1155 | override_lib_dir: ?[]const u8, | 1156 | override_lib_dir: ?[]const u8, |
| 1156 | main_pkg_path: ?[]const u8, | 1157 | main_pkg_path: ?[]const u8, |
| ... | @@ -1311,6 +1312,7 @@ pub const LibExeObjStep = struct { | ... | @@ -1311,6 +1312,7 @@ pub const LibExeObjStep = struct { |
| 1311 | .bundle_compiler_rt = false, | 1312 | .bundle_compiler_rt = false, |
| 1312 | .disable_stack_probing = false, | 1313 | .disable_stack_probing = false, |
| 1313 | .disable_sanitize_c = false, | 1314 | .disable_sanitize_c = false, |
| | 1315 | .rdynamic = false, |
| 1314 | .output_dir = null, | 1316 | .output_dir = null, |
| 1315 | .single_threaded = false, | 1317 | .single_threaded = false, |
| 1316 | .installed_path = null, | 1318 | .installed_path = null, |
| ... | @@ -1994,6 +1996,9 @@ pub const LibExeObjStep = struct { | ... | @@ -1994,6 +1996,9 @@ pub const LibExeObjStep = struct { |
| 1994 | if (self.disable_sanitize_c) { | 1996 | if (self.disable_sanitize_c) { |
| 1995 | try zig_args.append("-fno-sanitize-c"); | 1997 | try zig_args.append("-fno-sanitize-c"); |
| 1996 | } | 1998 | } |
| | 1999 | if (self.rdynamic) { |
| | 2000 | try zig_args.append("-rdynamic"); |
| | 2001 | } |
| 1997 | | 2002 | |
| 1998 | if (self.code_model != .default) { | 2003 | if (self.code_model != .default) { |
| 1999 | try zig_args.append("-code-model"); | 2004 | try zig_args.append("-code-model"); |