diff options
author | Mike Aizatsky <mike.aizatsky@gmail.com> | 2016-11-29 11:33:34 -0800 |
---|---|---|
committer | Mike Aizatsky <mike.aizatsky@gmail.com> | 2016-11-29 11:33:42 -0800 |
commit | 879120437d81de928879a93b1c9796d630aa767e (patch) | |
tree | bae5b6c9fffd464280bb9586ba8acbcd6c8c07a7 | |
parent | f30ec07cc245dda995244fe01f233c5ef578c4d5 (diff) |
[infra] build.sh cleanup
-rwxr-xr-x | infra/templates.py | 5 | ||||
-rwxr-xr-x | projects/c-ares/build.sh | 2 | ||||
-rwxr-xr-x | projects/ffmpeg/build.sh | 2 | ||||
-rwxr-xr-x | projects/libarchive/build.sh | 4 | ||||
-rwxr-xr-x | projects/ots/build.sh | 2 | ||||
-rwxr-xr-x | projects/pcre2/build.sh | 4 |
6 files changed, 9 insertions, 10 deletions
diff --git a/infra/templates.py b/infra/templates.py index b50cdfd9..28f62d04 100755 --- a/infra/templates.py +++ b/infra/templates.py @@ -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 \\ diff --git a/projects/c-ares/build.sh b/projects/c-ares/build.sh index 41fbf3bb..965a5971 100755 --- a/projects/c-ares/build.sh +++ b/projects/c-ares/build.sh @@ -15,7 +15,7 @@ # ################################################################################ -# Build the target. +# Build the project. ./buildconf ./configure --enable-debug make clean diff --git a/projects/ffmpeg/build.sh b/projects/ffmpeg/build.sh index 87e589dc..4c90217a 100755 --- a/projects/ffmpeg/build.sh +++ b/projects/ffmpeg/build.sh @@ -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" \ diff --git a/projects/libarchive/build.sh b/projects/libarchive/build.sh index 275fd68a..261a045a 100755 --- a/projects/libarchive/build.sh +++ b/projects/libarchive/build.sh @@ -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 \ diff --git a/projects/ots/build.sh b/projects/ots/build.sh index 9b516f89..7b2287ab 100755 --- a/projects/ots/build.sh +++ b/projects/ots/build.sh @@ -15,7 +15,7 @@ # ################################################################################ -# Build the target. +# Build the project. ./autogen.sh ./configure diff --git a/projects/pcre2/build.sh b/projects/pcre2/build.sh index fdcec503..3c6a9afb 100755 --- a/projects/pcre2/build.sh +++ b/projects/pcre2/build.sh @@ -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 |