Skip to content

Commit

Permalink
build: set -march irrespective of target operating system
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed Oct 6, 2024
1 parent d77c2df commit 9fc3440
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions depends/packages/gmp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fc3440

Please sign in to comment.