Update build.sh (#4835)

This commit is contained in:
Sergey Lyubka 2020-12-13 20:16:18 +00:00 committed by GitHub
parent 0d45ca89ee
commit a99bfe8500
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -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