Files
static-php-cli/src/SPC/builder/unix/library/gmp.php

24 lines
442 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
namespace SPC\builder\unix\library;
2025-06-09 19:32:31 +08:00
use SPC\util\executor\UnixAutoconfExecutor;
trait gmp
{
protected function build(): void
{
UnixAutoconfExecutor::create($this)
->appendEnv([
2025-12-05 12:14:57 +01:00
'CFLAGS' => '-std=c17',
])
->configure(
'--enable-fat'
)
->make();
$this->patchPkgconfPrefix(['gmp.pc']);
}
}