diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-06-08 15:21:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-08 15:21:22 -0400 |
| commit | f5d97e5e4865d454f468c352e671d2e4a15cf4e4 (patch) | |
| tree | 17491aa83b86bc81fe87f1310b49de1f45d1ea7f /src/Compilation.zig | |
| parent | 61844b6bd405b4cca3ab673284609aa6a651d506 (diff) | |
| parent | d8cae4d1974ae0948cfd4cad5a2bb6e8c4248609 (diff) | |
| download | zig-f5d97e5e4865d454f468c352e671d2e4a15cf4e4.tar.gz zig-f5d97e5e4865d454f468c352e671d2e4a15cf4e4.zip | |
Merge pull request #11825 from ifreund/std-build-relro
Enable full RELRO by default, expose in std.build
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 04e9d97719..7d686b2f40 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -763,8 +763,8 @@ pub const InitOptions = struct { linker_z_defs: bool = false, linker_z_origin: bool = false, linker_z_noexecstack: bool = false, - linker_z_now: bool = false, - linker_z_relro: bool = false, + linker_z_now: bool = true, + linker_z_relro: bool = true, linker_z_nocopyreloc: bool = false, linker_tsaware: bool = false, linker_nxcompat: bool = false, |
