tboot: fix build with gcc9
This commit is contained in:
parent
a0d2774f61
commit
071601843f
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
hardeningDisable = [ "pic" "stackprotector" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-Wno-error=address-of-packed-member" ];
|
||||
|
||||
configurePhase = ''
|
||||
for a in lcptools utils tb_polgen; do
|
||||
substituteInPlace $a/Makefile --replace /usr/sbin /sbin
|
||||
|
Loading…
Reference in New Issue
Block a user