mirror of https://github.com/google/oss-fuzz.git
[infra] build.sh cleanup
This commit is contained in:
parent
f30ec07cc2
commit
879120437d
|
@ -62,14 +62,13 @@ BUILD_TEMPLATE = """\
|
|||
#
|
||||
################################################################################
|
||||
|
||||
# build the project.
|
||||
# build project
|
||||
# e.g.
|
||||
#
|
||||
# ./autogen.sh
|
||||
# ./configure
|
||||
# make -j$(nproc) all
|
||||
|
||||
# build your fuzzer(s)
|
||||
# build fuzzers
|
||||
# e.g.
|
||||
# $CXX $CXXFLAGS -std=c++11 -Iinclude \\
|
||||
# /path/to/name_of_fuzzer.cc -o /out/name_of_fuzzer \\
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
# Build the target.
|
||||
# Build the project.
|
||||
./buildconf
|
||||
./configure --enable-debug
|
||||
make clean
|
||||
|
|
|
@ -138,7 +138,7 @@ make install
|
|||
rm $FFMPEG_DEPS_PATH/lib/*.so
|
||||
rm $FFMPEG_DEPS_PATH/lib/*.so.*
|
||||
|
||||
# Build the target.
|
||||
# Build ffmpeg.
|
||||
cd $SRC/ffmpeg
|
||||
PKG_CONFIG_PATH="$FFMPEG_DEPS_PATH/lib/pkgconfig" ./configure \
|
||||
--cc=$CC --cxx=$CXX --ld="$CXX $CXXFLAGS -std=c++11" \
|
||||
|
|
|
@ -15,12 +15,12 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
# build the target.
|
||||
# build the project
|
||||
./build/autogen.sh
|
||||
./configure
|
||||
make -j$(nproc) all
|
||||
|
||||
# build your fuzzer(s)
|
||||
# build fuzzer(s)
|
||||
$CXX $CXXFLAGS -Ilibarchive \
|
||||
$SRC/libarchive_fuzzer.cc -o $OUT/libarchive_fuzzer \
|
||||
-lfuzzer .libs/libarchive.a \
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
# Build the target.
|
||||
# Build the project.
|
||||
./autogen.sh
|
||||
./configure
|
||||
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
|
||||
cd pcre2
|
||||
|
||||
# build the library.
|
||||
# build project
|
||||
./autogen.sh
|
||||
./configure --enable-fuzz-support --enable-never-backslash-C --with-match-limit=1000 --with-match-limit-recursion=1000
|
||||
make -j$(nproc) clean all
|
||||
|
||||
# Build the target.
|
||||
# build fuzer
|
||||
$CXX $CXXFLAGS -o $OUT/pcre2_fuzzer \
|
||||
-lfuzzer .libs/libpcre2-fuzzsupport.a .libs/libpcre2-8.a
|
||||
|
|
Loading…
Reference in New Issue