vboot_reference: remove irrelevant cflags
Removing these manually applied cflags do not result in build failures.
This commit is contained in:
@@ -29,13 +29,6 @@ stdenv.mkDerivation {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString [
|
||||
# This apparently doesn't work as expected:
|
||||
# - https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/refs/heads/release-R135-16209.B/Makefile#493
|
||||
# Let's apply the same flag manually.
|
||||
"-Wno-error=deprecated-declarations"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "ar qc" '${stdenv.cc.bintools.targetPrefix}ar qc'
|
||||
|
||||
Reference in New Issue
Block a user