mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 02:27:41 +00:00
netbsd.sys: patch nocombreloc linker flag
This commit is contained in:
parent
26b585aa7b
commit
32ec12551f
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user