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 0e5b598 commit cc9bd9b
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 --with-pic
$(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 cc9bd9b

Please sign in to comment.