tboot: disable stackprotector/pic hardening

This commit is contained in:
Robin Gloster 2016-02-24 17:01:37 +00:00
parent e7f9e8a26f
commit c884697acc

View file

@ -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; {