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 ];
|
buildInputs = [ iasl python ];
|
||||||
|
|
||||||
|
hardening_pic = false;
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
# build SeaBIOS for CSM
|
# build SeaBIOS for CSM
|
||||||
cat > .config << EOF
|
cat > .config << EOF
|
||||||
@ -21,12 +24,12 @@ stdenv.mkDerivation rec {
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
make olddefconfig
|
make olddefconfig
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir $out
|
mkdir $out
|
||||||
cp out/Csm16.bin $out/Csm16.bin
|
cp out/Csm16.bin $out/Csm16.bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Open source implementation of a 16bit X86 BIOS";
|
description = "Open source implementation of a 16bit X86 BIOS";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user