1#!/bin/sh 2LIBFUZZER_SRC_DIR=$(dirname $0) 3CXX="${CXX:-clang}" 4for f in $LIBFUZZER_SRC_DIR/*.cpp; do 5 $CXX -g -O2 -fno-omit-frame-pointer -std=c++11 $f -c & 6done 7wait 8rm -f libFuzzer.a 9ar ru libFuzzer.a Fuzzer*.o 10rm -f Fuzzer*.o 11 12