Fix Docker macOS timestamp issues and improve build reproducibility
- Add rsync-based source sync for Docker builds to fix macOS VirtioFS timestamp inconsistencies that caused autoconf sanity checks to fail - Add config.sub wrapper (SHELL/CONFIG_SHELL) to support emscripten/wasm32 targets without modifying submodule files - Fix protobuf build to use native gcc/g++ for protoc instead of Emscripten - Add python PATH fix for macOS (Homebrew's python3 symlink) in wxWidgets build 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
5b919ef66f
commit
dafef9c0a1
9 changed files with 1937 additions and 2 deletions
22
scripts/config/config-sub-wrapper.sh
Executable file
22
scripts/config/config-sub-wrapper.sh
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/bash
|
||||
# SHELL wrapper that intercepts config.sub calls and uses our updated version
|
||||
# This allows building with autoconf projects without modifying their config.sub files
|
||||
#
|
||||
# How it works:
|
||||
# - autoconf's configure runs: $SHELL "${ac_aux_dir}config.sub" $host_alias
|
||||
# - By exporting SHELL to point to this script, we intercept these calls
|
||||
# - When $1 ends with "config.sub", we use our version instead
|
||||
# - All other invocations pass through to real bash
|
||||
|
||||
WRAPPER_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
OUR_CONFIG_SUB="$WRAPPER_DIR/config.sub"
|
||||
|
||||
# Check if we're being asked to execute a config.sub script
|
||||
# configure calls: $SHELL "path/to/config.sub" <args>
|
||||
if [[ "$1" == *config.sub ]]; then
|
||||
# Use our config.sub instead, passing all remaining arguments
|
||||
exec "$OUR_CONFIG_SUB" "${@:2}"
|
||||
fi
|
||||
|
||||
# For all other invocations, pass through to real bash
|
||||
exec /bin/bash "$@"
|
||||
1867
scripts/config/config.sub
vendored
Executable file
1867
scripts/config/config.sub
vendored
Executable file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue