Skip to content

Commit

Permalink
Merge pull request zcash#6787 from daira/suppress-bdb-link-warnings
Browse files Browse the repository at this point in the history
Suppress link warnings for unused command-line argument when building bdb
  • Loading branch information
str4d authored Dec 4, 2023
2 parents 8b62c27 + 6148e8b commit 4beddf6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions depends/packages/bdb.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ $(package)_config_opts_aarch64=--disable-atomicsupport
$(package)_cxxflags+=-std=c++17
$(package)_cflags+=-Wno-deprecated-non-prototype

$(package)_ldflags+=-static-libstdc++ -Wno-unused-command-line-argument
ifeq ($(host_os),freebsd)
$(package)_ldflags+=-static-libstdc++ -lcxxrt
$(package)_ldflags+=-lcxxrt
else
$(package)_ldflags+=-static-libstdc++ -lc++abi
$(package)_ldflags+=-lc++abi
endif

endef
Expand Down

0 comments on commit 4beddf6

Please sign in to comment.