Skip to content

Commit 3f1ba8d

Browse files
committed
chore: wip
1 parent eae7f34 commit 3f1ba8d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scripts/build-php.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2314,6 +2314,13 @@ exec ./configure "$@"
23142314
ac_cv_path_M4: '/usr/bin/m4',
23152315
ac_cv_prog_M4: '/usr/bin/m4',
23162316
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',
23172324
// Add autoconf cache variables to prevent header detection failures
23182325
ac_cv_header_stdc: 'yes',
23192326
ac_cv_header_sys_types_h: 'yes',

0 commit comments

Comments
 (0)