Skip to content

Commit 6439268

Browse files
committed
Test original
1 parent 9a5a59d commit 6439268

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SPC/builder/linux/LinuxBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function buildPHP(int $build_target = BUILD_TARGET_NONE): void
100100
// $musl_flag = SPCTarget::getLibc() === 'musl' ? ' -D__MUSL__' : ' -U__MUSL__';
101101
$php_configure_env = SystemUtil::makeEnvVarString([
102102
'CFLAGS' => getenv('SPC_CMD_VAR_PHP_CONFIGURE_CFLAGS'),
103-
'CPPFLAGS' => '-I' . BUILD_INCLUDE_PATH . ' -Dsomethinghere', // . $musl_flag,
103+
'CPPFLAGS' => '-I' . BUILD_INCLUDE_PATH, // . ' -Dsomethinghere', // . $musl_flag,
104104
'LDFLAGS' => '-L' . BUILD_LIB_PATH,
105105
// 'LIBS' => SPCTarget::getRuntimeLibs(), // do not pass static libraries here yet, they may contain polyfills for libc functions!
106106
]);
@@ -359,7 +359,7 @@ private function getMakeExtraVars(): array
359359
$static = SPCTarget::isStatic() ? '-all-static' : '';
360360
$lib = BUILD_LIB_PATH;
361361
return [
362-
'CPPFLAGS' => '-Dsomethinghere',
362+
// 'CPPFLAGS' => '-Dsomethinghere',
363363
'EXTRA_CFLAGS' => getenv('SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS'),
364364
'EXTRA_LIBS' => $config['libs'],
365365
'EXTRA_LDFLAGS' => getenv('SPC_CMD_VAR_PHP_MAKE_EXTRA_LDFLAGS'),

0 commit comments

Comments
 (0)