We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cb6a75 commit 7a4f28eCopy full SHA for 7a4f28e
src/SPC/builder/unix/UnixBuilderBase.php
@@ -301,7 +301,7 @@ protected function buildFrankenphp(): void
301
}
302
303
$config = (new SPCConfigUtil($this))->config($this->ext_list, $this->lib_list);
304
- $cflags = "{$this->arch_c_flags} {$config['cflags']} " . getenv('SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS');
+ $cflags = "{$this->arch_c_flags} {$config['cflags']} " . getenv('SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS') . ' -DFRANKENPHP_VERSION=' . $frankenPhpVersion;
305
$libs = $config['libs'];
306
// Go's gcc driver doesn't automatically link against -lgcov or -lrt. Ugly, but necessary fix.
307
if ((str_contains((string) getenv('SPC_DEFAULT_C_FLAGS'), '-fprofile') ||
0 commit comments