Enable -fPIC in Nanos6 loader

This commit is contained in:
2023-03-13 16:08:38 +01:00
parent 898534ee52
commit 9fae434553
2 changed files with 59 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ stdenv.mkDerivation rec {
sha256 = "YGj/cubqXaNt4lR2CnSU+nXvi+SdB56EXLhfN/ufjHs=";
};
patches = [ ./fpic.patch ];
prePatch = ''
patchShebangs scripts/generate_config.sh
'';