Skip to content

Commit dd53469

Browse files
committed
ld64: disable hardening again
Turn out this happens on `aarch64-darwin` too. Fixes: 23c0520
1 parent 80cb85e commit dd53469

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎pkgs/by-name/ld/ld64/package.nix‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ stdenv.mkDerivation (finalAttrs: {
138138
xar
139139
];
140140

141+
# ld built with this fails to link glib's gio
142+
hardeningDisable = [ "libcxxhardeningfast" ];
143+
141144
dontUseCmakeConfigure = true; # CMake is only needed because it’s used by Meson to find LLVM.
142145

143146
# Note for overrides: ld64 cannot be built as a debug build because of UB in its iteration implementations,

0 commit comments

Comments
 (0)