tboot: fix build with gcc9
This commit is contained in:
parent
a0d2774f61
commit
071601843f
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
hardeningDisable = [ "pic" "stackprotector" ];
|
hardeningDisable = [ "pic" "stackprotector" ];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-Wno-error=address-of-packed-member" ];
|
||||||
|
|
||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user