mirror of https://github.com/google/oss-fuzz.git
Do not remove the symlink as they are used by `Centipede`'s `Bazel` build (#8486)
This commit is contained in:
parent
1b63c5b4d2
commit
46cc569049
|
@ -28,9 +28,6 @@ cp "$BIN_DIR/libcentipede_runner.pic.a" "$LIB_FUZZING_ENGINE"
|
|||
export DFTRACING_FLAGS='-fsanitize-coverage=trace-loads'
|
||||
export CENTIPEDE_FLAGS=`cat "$SRC/centipede/clang-flags.txt" | tr '\n' ' '`
|
||||
export LIBRARIES_FLAGS="-ldl -lrt -lpthread $SRC/centipede/weak.o"
|
||||
export CC='/clang/bin/clang'
|
||||
export CCC='/clang/bin/clang++'
|
||||
export CXX='/clang/bin/clang++'
|
||||
|
||||
export CFLAGS="$CFLAGS $DFTRACING_FLAGS $CENTIPEDE_FLAGS $LIBRARIES_FLAGS"
|
||||
export CXXFLAGS="$CXXFLAGS $DFTRACING_FLAGS $CENTIPEDE_FLAGS $LIBRARIES_FLAGS"
|
||||
|
|
|
@ -34,6 +34,6 @@ bazel --bazelrc=/tmp/centipede.bazelrc build -c opt :all
|
|||
|
||||
echo 'Removing extra stuff leftover to avoid bloating image.'
|
||||
|
||||
rm -rf /clang-*.tgz /clang /root/.cache/*
|
||||
rm -rf /clang-*.tgz /clang
|
||||
|
||||
echo 'Done.'
|
||||
|
|
Loading…
Reference in New Issue