mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
seabios: turn off pic and stackprotector hardening
This commit is contained in:
parent
077e24c10d
commit
63d4e59add
@ -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 New Issue
Block a user