Skip to content

Commit

Permalink
Merge pull request firoorg#1265 from firoorg/gmp-patch-master
Browse files Browse the repository at this point in the history
Fix crash on Apple silicon Mac with recent Apple compiler
  • Loading branch information
psolstice authored Jul 13, 2023
2 parents 079d57e + 24b473a commit 26da759
Show file tree
Hide file tree
Showing 3 changed files with 509 additions and 2 deletions.
5 changes: 5 additions & 0 deletions depends/packages/gmp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ $(package)_version=6.2.1
$(package)_download_path=https://gmplib.org/download/gmp
$(package)_file_name=gmp-$($(package)_version).tar.bz2
$(package)_sha256_hash=eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c
$(package)_patches=applem1.patch

define $(package)_set_vars
$(package)_config_opts+=--enable-cxx --enable-fat --with-pic --disable-shared
Expand All @@ -14,6 +15,10 @@ define $(package)_config_cmds
$($(package)_autoconf)
endef

define $(package)_preprocess_cmds
patch -p1 <$($(package)_patch_dir)/applem1.patch
endef

define $(package)_build_cmds
$(MAKE)
endef
Expand Down
Loading

0 comments on commit 26da759

Please sign in to comment.