aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-08-01 12:06:07 +0100
committerfanquake <fanquake@gmail.com>2022-08-01 12:10:00 +0100
commitb46c6ec52e1501b8c4337cead0301ef2c3777dd6 (patch)
tree600677af8b5df48b9f406d9e1415aa307fba4b70 /depends
parentce3b75690d10426e97d087ca600140a19bf180b7 (diff)
downloadbitcoin-b46c6ec52e1501b8c4337cead0301ef2c3777dd6.tar.xz
bdb: disable Werror for format-security
This is causing build failures in some build environments, like NixOS. I don't think we are going to patch bdb at this point, and this warning has existed for as long as we've used bdb. Fixes #25211. Tested (in Docker) with: ```bash docker run -it nixos/nix nix-shell -p gitMinimal gcc12 libtool pkg-config curl gnumake patch autoconf automake git clone https://github.com/bitcoin/bitcoin make -C bitcoin/depends bdb ``` Co-authored-by: Ryan Ofsky <ryan@ofsky.org>
Diffstat (limited to 'depends')
-rw-r--r--depends/packages/bdb.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/packages/bdb.mk b/depends/packages/bdb.mk
index 80c7ce8429..2370c5b759 100644
--- a/depends/packages/bdb.mk
+++ b/depends/packages/bdb.mk
@@ -14,7 +14,7 @@ $(package)_config_opts_freebsd=--with-pic
$(package)_config_opts_netbsd=--with-pic
$(package)_config_opts_openbsd=--with-pic
$(package)_config_opts_android=--with-pic
-$(package)_cflags+=-Wno-error=implicit-function-declaration
+$(package)_cflags+=-Wno-error=implicit-function-declaration -Wno-error=format-security
$(package)_cppflags_mingw32=-DUNICODE -D_UNICODE
endef