|
|
@ -5,8 +5,12 @@ $(package)_file_name=db-$($(package)_version).tar.gz |
|
|
|
$(package)_sha256_hash=47612c8991aa9ac2f6be721267c8d3cdccf5ac83105df8e50809daea24e95dc7 |
|
|
|
$(package)_build_subdir=build_unix |
|
|
|
|
|
|
|
ifneq ($(host_os),darwin) |
|
|
|
$(package)_dependencies=libcxx |
|
|
|
endif |
|
|
|
|
|
|
|
define $(package)_set_vars |
|
|
|
$(package)_config_opts=--disable-shared --enable-cxx --disable-replication |
|
|
|
$(package)_config_opts=--disable-shared --enable-cxx --disable-replication --enable-option-checking |
|
|
|
$(package)_config_opts_mingw32=--enable-mingw |
|
|
|
$(package)_config_opts_linux=--with-pic |
|
|
|
$(package)_config_opts_freebsd=--with-pic |
|
|
@ -14,7 +18,13 @@ ifneq ($(build_os),darwin) |
|
|
|
$(package)_config_opts_darwin=--disable-atomicsupport |
|
|
|
endif |
|
|
|
$(package)_config_opts_aarch64=--disable-atomicsupport |
|
|
|
$(package)_cxxflags=-std=c++11 |
|
|
|
$(package)_cxxflags+=-std=c++17 |
|
|
|
|
|
|
|
ifeq ($(host_os),freebsd) |
|
|
|
$(package)_ldflags+=-static-libstdc++ -lcxxrt |
|
|
|
else |
|
|
|
$(package)_ldflags+=-static-libstdc++ -lc++abi |
|
|
|
endif |
|
|
|
endef |
|
|
|
|
|
|
|
define $(package)_preprocess_cmds |
|
|
|