Replaced process-wrapper by a dummy version for bootstrapping
process-wrapper is a C++ tool, replacing by a dummy shell version to
reduce the number of C++ compiler calls during the bootstrap process.
--
MOS_MIGRATED_REVID=112398152
diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh
index 33bcd01..b8ef29a 100755
--- a/scripts/bootstrap/compile.sh
+++ b/scripts/bootstrap/compile.sh
@@ -337,7 +337,17 @@
chmod 0755 ${OUTPUT_DIR}/build-runfiles${EXE_EXT}
log "Compiling process-wrapper..."
-run_silent "${CC}" -o ${OUTPUT_DIR}/process-wrapper -std=c99 src/main/tools/process-wrapper.c src/main/tools/process-tools.c -lm ${LDFLAGS}
+cat <<'EOF' >${OUTPUT_DIR}/process-wrapper${EXE_EXT}
+#!/bin/bash
+# Dummy process wrapper, does not support timeout
+shift 2
+stdout="$1"
+stderr="$2"
+shift 2
+
+"$@" 2>"$stderr" >"$stdout"
+exit $?
+EOF
log "Compiling xcode-locator..."
if [[ $PLATFORM == "darwin" ]]; then