summaryrefslogtreecommitdiff
path: root/util/futility
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-08-27 20:54:41 -0600
committerMartin Roth <martin.roth@amd.corp-partner.google.com>2022-08-29 18:34:18 +0000
commit2dd74906e4830d86a4e4a8113788e8a5c92de2ee (patch)
tree3a9b686fd12a566b00924c7e9004c9fafa074b99 /util/futility
parentc39598c975a7166d6a426087170e2477f056344c (diff)
util/futility: Ignore deprecated declarations in OpenSSL 3.0
Building futility with OpenSSL 3.0 (default in latest Debian sid) results in a number of warnings that various declarations have been deprecated. Since we (and futility) have warnings as errors enabled, this causes the building of futility to fail, killing the entire coreboot build. To work around this until futility is updated, turn off the warnings about deprecated declarations. Bug 243994708 has been filed to get futility updated. This workaround can be removed when futility builds cleanly with the latest libsssl-dev. BUG=b:243994708 TEST=Futility build doesn't fail with libssl-dev > 3.0 Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I54e27e09b0d50530709864672afe35c59c76f06e Reviewed-on: https://review.coreboot.org/c/coreboot/+/67124 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Tom Hiller <thrilleratplay@gmail.com>
Diffstat (limited to 'util/futility')
-rw-r--r--util/futility/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/futility/Makefile.inc b/util/futility/Makefile.inc
index 6a56debfb9..1033fc5ace 100644
--- a/util/futility/Makefile.inc
+++ b/util/futility/Makefile.inc
@@ -9,6 +9,7 @@ $(VBOOT_FUTILITY): | check-openssl-presence
unset CFLAGS LDFLAGS; $(MAKE) -C $(VBOOT_SOURCE) \
BUILD=$(VBOOT_HOST_BUILD) \
CC="$(HOSTCC)" \
+ WERROR="-Werror -Wno-deprecated-declarations" \
PKG_CONFIG="$(HOSTPKGCONFIG)" \
V=$(V) \
USE_FLASHROM=0 \