diff options
author | fanquake <fanquake@gmail.com> | 2022-01-03 13:21:58 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-01-19 20:38:07 +0800 |
commit | ae9175f6086aa6c177084365c795e78c580eac1d (patch) | |
tree | f41e94a4bdc48897ea39486733b277111d661138 /depends/packages | |
parent | 2d7ffce8521aef7f56a03cc6428d3be01cdb1990 (diff) |
build: add FreeBSD support to depends
Diffstat (limited to 'depends/packages')
-rw-r--r-- | depends/packages/bdb.mk | 1 | ||||
-rw-r--r-- | depends/packages/boost.mk | 1 | ||||
-rw-r--r-- | depends/packages/libevent.mk | 1 | ||||
-rw-r--r-- | depends/packages/sqlite.mk | 1 | ||||
-rw-r--r-- | depends/packages/zeromq.mk | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/depends/packages/bdb.mk b/depends/packages/bdb.mk index 8a3116bb3b..4e74c95a8e 100644 --- a/depends/packages/bdb.mk +++ b/depends/packages/bdb.mk @@ -10,6 +10,7 @@ define $(package)_set_vars $(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 $(package)_config_opts_android=--with-pic $(package)_cflags+=-Wno-error=implicit-function-declaration $(package)_cxxflags+=-std=c++17 diff --git a/depends/packages/boost.mk b/depends/packages/boost.mk index 5fe2b2bbb8..5e3baa5d75 100644 --- a/depends/packages/boost.mk +++ b/depends/packages/boost.mk @@ -25,6 +25,7 @@ endif $(package)_config_libraries=filesystem,system,test $(package)_cxxflags+=-std=c++17 $(package)_cxxflags_linux=-fPIC +$(package)_cxxflags_freebsd=-fPIC $(package)_cxxflags_android=-fPIC $(package)_cxxflags_x86_64_darwin=-fcf-protection=full $(package)_cxxflags_mingw32=-fcf-protection=full diff --git a/depends/packages/libevent.mk b/depends/packages/libevent.mk index 0af5412d94..2305f96d27 100644 --- a/depends/packages/libevent.mk +++ b/depends/packages/libevent.mk @@ -12,6 +12,7 @@ define $(package)_set_vars $(package)_config_opts += --disable-dependency-tracking --enable-option-checking $(package)_config_opts_release=--disable-debug-mode $(package)_config_opts_linux=--with-pic + $(package)_config_opts_freebsd=--with-pic $(package)_config_opts_android=--with-pic $(package)_cppflags_mingw32=-D_WIN32_WINNT=0x0601 endef diff --git a/depends/packages/sqlite.mk b/depends/packages/sqlite.mk index af5e0d09c9..36b6df7f6e 100644 --- a/depends/packages/sqlite.mk +++ b/depends/packages/sqlite.mk @@ -7,6 +7,7 @@ $(package)_sha256_hash=486748abfb16abd8af664e3a5f03b228e5f124682b0c942e157644bf6 define $(package)_set_vars $(package)_config_opts=--disable-shared --disable-readline --disable-dynamic-extensions --enable-option-checking $(package)_config_opts_linux=--with-pic +$(package)_config_opts_freebsd=--with-pic endef define $(package)_preprocess_cmds diff --git a/depends/packages/zeromq.mk b/depends/packages/zeromq.mk index 9798248c61..473f48dd38 100644 --- a/depends/packages/zeromq.mk +++ b/depends/packages/zeromq.mk @@ -11,6 +11,7 @@ define $(package)_set_vars $(package)_config_opts += --disable-libunwind --disable-radix-tree --without-gcov --disable-dependency-tracking $(package)_config_opts += --disable-Werror --disable-drafts --enable-option-checking $(package)_config_opts_linux=--with-pic + $(package)_config_opts_freebsd=--with-pic $(package)_config_opts_android=--with-pic $(package)_cxxflags+=-std=c++17 endef |