From a99bfe8500b81a667226f5cae77d2a6fb7e8e812 Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Sun, 13 Dec 2020 20:16:18 +0000 Subject: [PATCH] Update build.sh (#4835) --- projects/mongoose/build.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/projects/mongoose/build.sh b/projects/mongoose/build.sh index 56e5a19c7..20b7be9ba 100755 --- a/projects/mongoose/build.sh +++ b/projects/mongoose/build.sh @@ -13,8 +13,5 @@ # See the License for the specific language governing permissions and # limitations under the License. # -cd $SRC/mongoose/test -$CC $CFLAGS -c fuzz.c -g -I../ -o fuzz.o -$CC $CFLAGS -c ../mongoose.c -g -I../ -o mongoose.o - -$CXX $CXXFLAGS $LIB_FUZZING_ENGINE fuzz.o mongoose.o -o $OUT/fuzz +cd $SRC/mongoose +$CXX $CXXFLAGS $LIB_FUZZING_ENGINE -DMG_ENABLE_LINES -DMG_ENABLE_LOG=0 mongoose.c -I. test/fuzz.c -o $OUT/fuzz