Revert "add cache file option to autoconf executor by default (if cflags and ldflags match default)"

This reverts commit 5577cd0fab.
This commit is contained in:
DubbleClick
2025-07-02 12:55:59 +07:00
parent abe27598de
commit 6f68d7b7f1
4 changed files with 8 additions and 21 deletions

View File

@@ -18,8 +18,13 @@ class libffi extends LinuxLibraryBase
*/
public function build(): void
{
$arch = getenv('SPC_ARCH');
UnixAutoconfExecutor::create($this)
->configure()
->configure(
"--host={$arch}-unknown-linux",
"--target={$arch}-unknown-linux",
"--libdir={$this->getLibDir()}"
)
->make();
if (is_file(BUILD_ROOT_PATH . '/lib64/libffi.a')) {