From 66faf75fb3fc280c01e168dcaa71f32f5246cf04 Mon Sep 17 00:00:00 2001 From: Bhargava Shastry Date: Wed, 18 Sep 2019 21:04:32 +0200 Subject: [PATCH] Solidity: Use release build (#2848) --- projects/solidity/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/solidity/build.sh b/projects/solidity/build.sh index e83e56c4f..82881805e 100755 --- a/projects/solidity/build.sh +++ b/projects/solidity/build.sh @@ -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