liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3595e362946c033c243dff7df9f65c871d95b754
parent 245bf534e6cf5885b8099cd5210cf33a012a9a5f
Author: Daniel Barlow <dan@telent.net>
Date:   Sat, 22 Apr 2023 23:04:03 +0100

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

Diffstat:
Moverlay.nix | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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 []) ++