netbsd.sys: patch nocombreloc linker flag

This commit is contained in:
Astro 2023-11-20 03:20:50 +01:00
parent 26b585aa7b
commit 32ec12551f

View File

@ -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";