mirror of
https://github.com/php/php-src.git
synced 2026-10-29 10:22:06 +08:00
[skip ci] Add -DZEND_VERIFY_TYPE_INFERENCE to CXXFLAGS for variation build
Without this, executor globals vary in size and offsets for C vs. C++, which leads to issues since GH-22287.
This commit is contained in:
1 file changed
+1
-1
@@ -166,7 +166,7 @@ jobs:
|
||||
with:
|
||||
configurationParameters: >-
|
||||
${{ matrix.asan && 'CFLAGS="-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC" LDFLAGS="-fsanitize=undefined,address"' || '' }}
|
||||
${{ matrix.variation && 'CFLAGS="-DZEND_RC_DEBUG=1 -DPROFITABILITY_CHECKS=0 -DZEND_VERIFY_FUNC_INFO=1 -DZEND_VERIFY_TYPE_INFERENCE"' || '' }}
|
||||
${{ matrix.variation && 'CFLAGS="-DZEND_RC_DEBUG=1 -DPROFITABILITY_CHECKS=0 -DZEND_VERIFY_FUNC_INFO=1 -DZEND_VERIFY_TYPE_INFERENCE" CXXFLAGS="-DZEND_VERIFY_TYPE_INFERENCE"' || '' }}
|
||||
${{ (matrix.variation && fromJson(inputs.branch).jobs.LINUX_X64.config.variation_enable_zend_max_execution_timers) && '--enable-zend-max-execution-timers' || '' }}
|
||||
--${{ matrix.debug && 'enable' || 'disable' }}-debug
|
||||
${{ matrix.debug && 'CXXFLAGS="-D_GLIBCXX_ASSERTIONS"' || '' }}
|
||||
|
||||
Reference in new issue
Block a user