diff options
author | 2016-01-18 11:57:26 +0000 | |
---|---|---|
committer | 2016-01-18 14:35:00 +0000 | |
commit | dceee0e5feda3bf72a192f4622e741bd41480ecd (patch) | |
tree | b94e1d141c143fa8fc2c9a9f545c8c656325a312 /scripts | |
parent | 50fce86f11f4fc5a372d008be903842576e72403 (diff) |
Use a dummy build-runfiles in the bootstrap binary
--
MOS_MIGRATED_REVID=112397181
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bootstrap/compile.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh index 37e01995f6..33bcd01085 100755 --- a/scripts/bootstrap/compile.sh +++ b/scripts/bootstrap/compile.sh @@ -328,9 +328,13 @@ if [ ! -z "$JNILIB" ] ; then run_silent "${CXX}" -o ${OUTPUT_DIR}/${JNILIB} $JNI_LD_ARGS -shared ${OUTPUT_DIR}/native/*.o -lstdc++ fi -log "Compiling build-runfiles..." -# Clang on Linux requires libstdc++ -run_silent "${CXX}" -o ${OUTPUT_DIR}/build-runfiles -std=c++0x src/main/tools/build-runfiles.cc -lstdc++ ${LDFLAGS} +# Dummy build-runfiles +cat <<'EOF' >${OUTPUT_DIR}/build-runfiles${EXE_EXT} +#!/bin/bash +mkdir -p $2/MANIFEST +cp $1 $2/MANIFEST +EOF +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} |