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 ];
|
patches = [ ./dont_static_link.patch ];
|
||||||
|
|
||||||
|
# fix build with gcc9
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile \
|
substituteInPlace Makefile \
|
||||||
--replace "ar qc" '${stdenv.cc.bintools.targetPrefix}ar qc'
|
--replace "ar qc" '${stdenv.cc.bintools.targetPrefix}ar qc'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user