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 eae7f34 commit 3f1ba8dCopy full SHA for 3f1ba8d
scripts/build-php.ts
@@ -2314,6 +2314,13 @@ exec ./configure "$@"
2314
ac_cv_path_M4: '/usr/bin/m4',
2315
ac_cv_prog_M4: '/usr/bin/m4',
2316
AUTOCONF_M4: '/usr/bin/m4',
2317
+ // Prevent autotools from automatically adding --host flag for cross-compilation
2318
+ TARGET_ARCH: undefined,
2319
+ TARGET_PLATFORM: undefined,
2320
+ host_alias: '',
2321
+ build_alias: '',
2322
+ target_alias: '',
2323
+ cross_compiling: 'no',
2324
// Add autoconf cache variables to prevent header detection failures
2325
ac_cv_header_stdc: 'yes',
2326
ac_cv_header_sys_types_h: 'yes',
0 commit comments