mirror of
https://github.com/nlohmann/json.git
synced 2024-08-23 13:32:28 +02:00
11 lines
213 B
Bash
Executable file
11 lines
213 B
Bash
Executable file
#!/bin/bash
|
|
LIBFUZZER_SRC_DIR=$(dirname $0)
|
|
for f in $LIBFUZZER_SRC_DIR/*.cpp; do
|
|
clang -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
|
|
|