From 3595e362946c033c243dff7df9f65c871d95b754 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sat, 22 Apr 2023 23:04:03 +0100 Subject: [PATCH] workaround for huge musl binaries something in our configuration is causing gcc to generate binaries in excess of 68K for "hello world". hardeningDisable seems to stop it doing that, turning it on for s6 which writes _lots_ of binaries but would be good to get to the bottom of this https://discourse.nixos.org/t/crosscompilation-to-musl32-problems/3110 may have more --- overlay.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/overlay.nix b/overlay.nix index d3b7ca6..72fffff 100644 --- a/overlay.nix +++ b/overlay.nix @@ -33,6 +33,7 @@ let "--disable-static" "--enable-shared" ]; + hardeningDisable = ["all"]; stripAllList = [ "sbin" "bin" ]; patches = (if o ? patches then o.patches else []) ++