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