mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
seabios: turn off pic and stackprotector hardening
This commit is contained in:
parent
077e24c10d
commit
63d4e59add
1 changed files with 5 additions and 2 deletions
|
@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ iasl python ];
|
||||
|
||||
hardening_pic = false;
|
||||
hardening_stackprotector = false;
|
||||
|
||||
configurePhase = ''
|
||||
# build SeaBIOS for CSM
|
||||
cat > .config << EOF
|
||||
|
@ -21,12 +24,12 @@ stdenv.mkDerivation rec {
|
|||
EOF
|
||||
|
||||
make olddefconfig
|
||||
'';
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp out/Csm16.bin $out/Csm16.bin
|
||||
'';
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Open source implementation of a 16bit X86 BIOS";
|
||||
|
|
Loading…
Reference in a new issue