From 82b440546a6bcd62c1a72b6a9fb78e2ed9ca382a Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kwvg@users.noreply.github.com> Date: Mon, 7 Oct 2024 01:06:29 +0530 Subject: [PATCH 1/2] build: update gmp to 6.3.0 --- depends/packages/gmp.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/depends/packages/gmp.mk b/depends/packages/gmp.mk index 0bbf31444b..7a4d125f6b 100644 --- a/depends/packages/gmp.mk +++ b/depends/packages/gmp.mk @@ -1,11 +1,11 @@ package=gmp -$(package)_version=6.2.1 -$(package)_download_path=https://gmplib.org/download/gmp +$(package)_version=6.3.0 +$(package)_download_path=https://ftp.gnu.org/gnu/gmp $(package)_file_name=gmp-$($(package)_version).tar.bz2 -$(package)_sha256_hash=eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c +$(package)_sha256_hash=ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000d1c20cb define $(package)_set_vars -$(package)_config_opts+=--enable-cxx --enable-fat --disable-shared +$(package)_config_opts += --disable-shared --enable-cxx --enable-fat $(package)_cflags_armv7l_linux+=-march=armv7-a $(package)_cflags_aarch64_darwin+=-march=armv8-a endef From 9dad5252db271d88870cdc8922e199c3358d4d92 Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kwvg@users.noreply.github.com> Date: Sat, 5 Oct 2024 17:40:33 +0000 Subject: [PATCH 2/2] build: set `-march` irrespective of target operating system --- depends/packages/gmp.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/depends/packages/gmp.mk b/depends/packages/gmp.mk index 7a4d125f6b..ff0dda5835 100644 --- a/depends/packages/gmp.mk +++ b/depends/packages/gmp.mk @@ -6,8 +6,9 @@ $(package)_sha256_hash=ac28211a7cfb609bae2e2c8d6058d66c8fe96434f740cf6fe2e47b000 define $(package)_set_vars $(package)_config_opts += --disable-shared --enable-cxx --enable-fat -$(package)_cflags_armv7l_linux+=-march=armv7-a -$(package)_cflags_aarch64_darwin+=-march=armv8-a +$(package)_cflags_aarch64 += -march=armv8-a +$(package)_cflags_armv7l += -march=armv7-a +$(package)_cflags_x86_64 += -march=x86-64 endef define $(package)_config_cmds