mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
04d1671b9c
* Fixes from Bitcoin #12474 This commit fixes building of boost and openssl on armv7l as described in Bitcoin issue #12474 * Prevent compiler from emitting illegal instructions to armv7l CPUs * Limit dwsize for armv7l * Remove superfluous cppflags argument
24 lines
593 B
Makefile
24 lines
593 B
Makefile
package=gmp
|
|
$(package)_version=6.1.2
|
|
$(package)_download_path=https://gmplib.org/download/gmp
|
|
$(package)_file_name=gmp-$($(package)_version).tar.bz2
|
|
$(package)_sha256_hash=5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts+=--enable-cxx --enable-fat --with-pic --disable-shared
|
|
$(package)_cflags_armv7l_linux+=-march=armv7-a
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_autoconf)
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|
|
|