Skip to content

Commit

Permalink
Suppress link warnings when building bdb by adding
Browse files Browse the repository at this point in the history
`-Wno-unused-command-line-argument` to `LDFLAGS`.

Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
  • Loading branch information
daira committed Nov 21, 2023
1 parent 5d91150 commit 6148e8b
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 6148e8b

Please sign in to comment.