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

@@ -24,7 +24,7 @@ trait gettext
if ($this->builder->getOption('enable-zts')) {
$autoconf->addConfigureArgs('--enable-threads=isoc+posix')
->appendEnv([
'CFLAGS' => '-D_REENTRANT',
'CFLAGS' => '-lpthread -D_REENTRANT',
'LDFLGAS' => '-lpthread',
]);
} else {

View File

@@ -17,7 +17,6 @@ trait unixodbc
protected function build(): void
{
UnixAutoconfExecutor::create($this)
->removeConfigureArgs('--cache-file')
->configure(
'--disable-debug',
'--disable-dependency-tracking',