File tree Expand file tree Collapse file tree 2 files changed +626
-0
lines changed Expand file tree Collapse file tree 2 files changed +626
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ $(package)_version=6.3.0
3
3
$(package)_download_path =https://ftp.gnu.org/gnu/gmp
4
4
$(package)_file_name =gmp-$($(package ) _version) .tar.bz2
5
5
$(package)_sha256_hash =ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000d1c20cb
6
+ $(package)_patches =include_ldflags_in_configure.patch
6
7
7
8
define $(package)_set_vars
8
9
$(package ) _config_opts += --disable-shared --enable-cxx --enable-fat
@@ -11,6 +12,10 @@ $(package)_cflags_armv7l += -march=armv7-a
11
12
$(package ) _cflags_x86_64 += -march=x86-64
12
13
endef
13
14
15
+ define $(package)_preprocess_cmds
16
+ patch -p1 < $($(package ) _patch_dir) /include_ldflags_in_configure.patch
17
+ endef
18
+
14
19
define $(package)_config_cmds
15
20
$($(package ) _autoconf)
16
21
endef
You can’t perform that action at this time.
0 commit comments