Solidity: Use release build (#2848)

This commit is contained in:
Bhargava Shastry 2019-09-18 21:04:32 +02:00 committed by jonathanmetzman
parent 49c3d46ddb
commit 66faf75fb3
1 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,9 @@ cd build
rm -rf *
# Build solidity
cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ossfuzz.cmake $SRC/solidity
cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ossfuzz.cmake \
-DCMAKE_BUILD_TYPE=Release \
$SRC/solidity
make ossfuzz ossfuzz_proto ossfuzz_abiv2 -j $(nproc)
# Copy fuzzer binary, seed corpus, fuzzer options, and dictionary