File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -359,7 +359,6 @@ private function getMakeExtraVars(): array
359
359
$ static = SPCTarget::isStatic () ? '-all-static ' : '' ;
360
360
$ lib = BUILD_LIB_PATH ;
361
361
return [
362
- // 'CPPFLAGS' => '-Dsomethinghere',
363
362
'EXTRA_CFLAGS ' => getenv ('SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS ' ),
364
363
'EXTRA_LIBS ' => $ config ['libs ' ],
365
364
'EXTRA_LDFLAGS ' => getenv ('SPC_CMD_VAR_PHP_MAKE_EXTRA_LDFLAGS ' ),
Original file line number Diff line number Diff line change @@ -98,8 +98,7 @@ public function buildPHP(int $build_target = BUILD_TARGET_NONE): void
98
98
$ this ->emitPatchPoint ('before-php-configure ' );
99
99
SourcePatcher::patchBeforeConfigure ($ this );
100
100
101
- $ phpVersionID = $ this ->getPHPVersionID ();
102
- $ json_74 = $ phpVersionID < 80000 ? '--enable-json ' : '' ;
101
+ $ json_74 = $ this ->getPHPVersionID () < 80000 ? '--enable-json ' : '' ;
103
102
$ zts = $ this ->getOption ('enable-zts ' , false ) ? '--enable-zts --disable-zend-signals ' : '' ;
104
103
105
104
$ opcache_jit = !$ this ->getOption ('disable-opcache-jit ' , false );
You can’t perform that action at this time.
0 commit comments