forked from DGNum/liminix
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
This commit is contained in:
parent
245bf534e6
commit
3595e36294
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ let
|
|||
"--disable-static"
|
||||
"--enable-shared"
|
||||
];
|
||||
hardeningDisable = ["all"];
|
||||
stripAllList = [ "sbin" "bin" ];
|
||||
patches =
|
||||
(if o ? patches then o.patches else []) ++
|
||||
|
|
Loading…
Reference in a new issue