mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-14 20:22:30 +00:00
4463ae4f6d
Summary: It is not necessary launching the build script with bash. Reviewers: krytarowski Reviewed By: krytarowski Subscribers: llvm-commits, #sanitizers Differential Revision: https://reviews.llvm.org/D42008 llvm-svn: 322422
12 lines
230 B
Bash
Executable File
12 lines
230 B
Bash
Executable File
#!/bin/sh
|
|
LIBFUZZER_SRC_DIR=$(dirname $0)
|
|
CXX="${CXX:-clang}"
|
|
for f in $LIBFUZZER_SRC_DIR/*.cpp; do
|
|
$CXX -g -O2 -fno-omit-frame-pointer -std=c++11 $f -c &
|
|
done
|
|
wait
|
|
rm -f libFuzzer.a
|
|
ar ru libFuzzer.a Fuzzer*.o
|
|
rm -f Fuzzer*.o
|
|
|