vboot_reference: fix build with gcc9
This commit is contained in:
parent
7b83464d0f
commit
cec9a7e93a
@ -19,6 +19,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./dont_static_link.patch ];
|
||||
|
||||
# fix build with gcc9
|
||||
NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "ar qc" '${stdenv.cc.bintools.targetPrefix}ar qc'
|
||||
|
Loading…
Reference in New Issue
Block a user