diff options
author | Astro <astro@spaceboyz.net> | 2023-11-20 03:20:50 +0100 |
---|---|---|
committer | Astro <astro@spaceboyz.net> | 2023-11-20 03:21:23 +0100 |
commit | 32ec12551fba06ca890566bf85b1e3d569fe49a7 (patch) | |
tree | 108aba23bff0056ce7a1c36ef40e72b16b2b680a /pkgs/os-specific/bsd | |
parent | 26b585aa7b1291580fd2152f5c1295731ced6b9a (diff) |
netbsd.sys: patch nocombreloc linker flag
Diffstat (limited to 'pkgs/os-specific/bsd')
-rw-r--r-- | pkgs/os-specific/bsd/netbsd/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix index fc6dfa8349262..c44936ddcb471 100644 --- a/pkgs/os-specific/bsd/netbsd/default.nix +++ b/pkgs/os-specific/bsd/netbsd/default.nix @@ -618,8 +618,13 @@ in makeScopeWithSplicing' { ./sys-headers-incsdir.patch ]; - # multiple header dirs, see above - inherit (self.include) postPatch; + postPatch = + '' + substituteInPlace sys/arch/i386/stand/efiboot/Makefile.efiboot \ + --replace "-nocombreloc" "-z nocombreloc" + '' + + # multiple header dirs, see above + self.include.postPatch; CONFIG = "GENERIC"; |