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] 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 7a4d125f6be1c..ff0dda5835615 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