From e7a88f1df76956297d19db09dcd3e22812162aa7 Mon Sep 17 00:00:00 2001 From: henderkes Date: Mon, 29 Dec 2025 21:15:53 +0100 Subject: [PATCH] enable fat for gmp when next version releases --- src/SPC/builder/unix/library/gmp.php | 4 +++- src/globals/test-extensions.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/SPC/builder/unix/library/gmp.php b/src/SPC/builder/unix/library/gmp.php index f625274f..97a88ba1 100644 --- a/src/SPC/builder/unix/library/gmp.php +++ b/src/SPC/builder/unix/library/gmp.php @@ -14,7 +14,9 @@ trait gmp ->appendEnv([ 'CFLAGS' => '-std=c17', ]) - ->configure() + ->configure( + '--enable-fat' + ) ->make(); $this->patchPkgconfPrefix(['gmp.pc']); } diff --git a/src/globals/test-extensions.php b/src/globals/test-extensions.php index d9202e08..e2186c8e 100644 --- a/src/globals/test-extensions.php +++ b/src/globals/test-extensions.php @@ -50,7 +50,7 @@ $prefer_pre_built = false; // If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`). $extensions = match (PHP_OS_FAMILY) { - 'Linux', 'Darwin' => 'mysqli', + 'Linux', 'Darwin' => 'mysqli,gmp', 'Windows' => 'bcmath', };