vboot_reference: fix build with gcc9
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user