| ... | @@ -1583,6 +1583,7 @@ pub const LibExeObjStep = struct { | ... | @@ -1583,6 +1583,7 @@ pub const LibExeObjStep = struct { |
| 1583 | red_zone: ?bool = null, | 1583 | red_zone: ?bool = null, |
| 1584 | | 1584 | |
| 1585 | omit_frame_pointer: ?bool = null, | 1585 | omit_frame_pointer: ?bool = null, |
| | 1586 | no_dll_export_fns: bool = false, |
| 1586 | | 1587 | |
| 1587 | subsystem: ?std.Target.SubSystem = null, | 1588 | subsystem: ?std.Target.SubSystem = null, |
| 1588 | | 1589 | |
| ... | @@ -2639,6 +2640,9 @@ pub const LibExeObjStep = struct { | ... | @@ -2639,6 +2640,9 @@ pub const LibExeObjStep = struct { |
| 2639 | try zig_args.append("-fno-omit-frame-pointer"); | 2640 | try zig_args.append("-fno-omit-frame-pointer"); |
| 2640 | } | 2641 | } |
| 2641 | } | 2642 | } |
| | 2643 | if (self.no_dll_export_fns) { |
| | 2644 | try zig_args.append("-fno-dll-export-fns"); |
| | 2645 | } |
| 2642 | if (self.disable_sanitize_c) { | 2646 | if (self.disable_sanitize_c) { |
| 2643 | try zig_args.append("-fno-sanitize-c"); | 2647 | try zig_args.append("-fno-sanitize-c"); |
| 2644 | } | 2648 | } |