tboot: disable stackprotector/pic hardening
This commit is contained in:
parent
e7f9e8a26f
commit
c884697acc
1 changed files with 4 additions and 0 deletions
|
@ -12,12 +12,16 @@ stdenv.mkDerivation rec {
|
|||
|
||||
patches = [ ./tboot-add-well-known-secret-option-to-lcp_writepol.patch ];
|
||||
|
||||
hardening_pic = false;
|
||||
hardening_stackprotector = false;
|
||||
|
||||
configurePhase = ''
|
||||
for a in lcptools utils tb_polgen; do
|
||||
substituteInPlace $a/Makefile --replace /usr/sbin /sbin
|
||||
done
|
||||
substituteInPlace docs/Makefile --replace /usr/share /share
|
||||
'';
|
||||
|
||||
installFlags = "DESTDIR=$(out)";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue