From c79073c176a909abce3feba96203caef1e6d8360 Mon Sep 17 00:00:00 2001 From: kcbanner Date: Thu, 2 Mar 2023 22:54:35 -0500 Subject: [PATCH] compilation: fixup linker_dynamicbase default in InitOptions --- src/Compilation.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compilation.zig b/src/Compilation.zig index 858afb6ca3da97c26650157ffb03048c0902b267..2c9b4e40638e2841c09d10b83a33235aa120d3ab 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -575,7 +575,7 @@ pub const InitOptions = struct { linker_z_max_page_size: ?u64 = null, linker_tsaware: bool = false, linker_nxcompat: bool = false, - linker_dynamicbase: bool = false, + linker_dynamicbase: bool = true, linker_optimization: ?u8 = null, linker_compress_debug_sections: ?link.CompressDebugSections = null, linker_module_definition_file: ?[]const u8 = null, -- 2.54.0