Skip to content

Commit 3c09ba5

Browse files
committed
Merge remote-tracking branch 'origin/php-85' into php-85
2 parents b644da8 + 430f436 commit 3c09ba5

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/SPC/builder/linux/LinuxBuilder.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ private function getMakeExtraVars(): array
359359
$static = SPCTarget::isStatic() ? '-all-static' : '';
360360
$lib = BUILD_LIB_PATH;
361361
return [
362-
// 'CPPFLAGS' => '-Dsomethinghere',
363362
'EXTRA_CFLAGS' => getenv('SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS'),
364363
'EXTRA_LIBS' => $config['libs'],
365364
'EXTRA_LDFLAGS' => getenv('SPC_CMD_VAR_PHP_MAKE_EXTRA_LDFLAGS'),

src/SPC/builder/macos/MacOSBuilder.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ public function buildPHP(int $build_target = BUILD_TARGET_NONE): void
9898
$this->emitPatchPoint('before-php-configure');
9999
SourcePatcher::patchBeforeConfigure($this);
100100

101-
$phpVersionID = $this->getPHPVersionID();
102-
$json_74 = $phpVersionID < 80000 ? '--enable-json ' : '';
101+
$json_74 = $this->getPHPVersionID() < 80000 ? '--enable-json ' : '';
103102
$zts = $this->getOption('enable-zts', false) ? '--enable-zts --disable-zend-signals ' : '';
104103

105104
$opcache_jit = !$this->getOption('disable-opcache-jit', false);

0 commit comments

Comments
 (0)