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