mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
39750439bf
* build: Enable C++11 build, require C++11 compiler Implements #6211. * depends: use c++11 * build: update ax_cxx_compile_stdcxx to serial 4 * build: force a c++ standard to be specified Newer compilers may switch to newer standards by default. For example, gcc6 uses std=gnu++14 by default. * c++11: fix libbdb build against libc++ in c++11 mode atomic_init clashes with * c++11: CAccountingEntry must be defined before use in a list c++11ism. This fixes builds against libc++.
28 lines
687 B
Makefile
28 lines
687 B
Makefile
package=zeromq
|
|
$(package)_version=4.0.7
|
|
$(package)_download_path=http://download.zeromq.org
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=e00b2967e074990d0538361cc79084a0a92892df2c6e7585da34e4c61ee47b03
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts=--without-documentation --disable-shared
|
|
$(package)_config_opts_linux=--with-pic
|
|
$(package)_cxxflags=-std=c++11
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_autoconf)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE) -C src
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) -C src DESTDIR=$($(package)_staging_dir) install
|
|
endef
|
|
|
|
define $(package)_postprocess_cmds
|
|
rm -rf bin share
|
|
endef
|