Skip to content

Commit

Permalink
Merge pull request zcash#6786 from daira/suppress-bdb-compile-warnings
Browse files Browse the repository at this point in the history
Suppress compilation warnings for K&R-style prototypes when building bdb
  • Loading branch information
str4d authored Nov 15, 2023
2 parents b1c0812 + 1c29282 commit 5d91150
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions depends/packages/bdb.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ $(package)_config_opts_darwin=--disable-atomicsupport
endif
$(package)_config_opts_aarch64=--disable-atomicsupport
$(package)_cxxflags+=-std=c++17
$(package)_cflags+=-Wno-deprecated-non-prototype

ifeq ($(host_os),freebsd)
$(package)_ldflags+=-static-libstdc++ -lcxxrt
Expand Down

0 comments on commit 5d91150

Please sign in to comment.