aboutsummaryrefslogtreecommitdiff
path: root/projects/pcre2
diff options
context:
space:
mode:
authorKuang-che Wu <kcwu@csie.org>2016-12-07 22:47:37 +0800
committerMike Aizatsky <mike.aizatsky@gmail.com>2016-12-07 06:47:37 -0800
commit7048975d6a98b8d76304992371102efb83cc84de (patch)
tree5d1049eee4392d1028f41440c7932506963a382f /projects/pcre2
parent62004e930638603b2ab9cafad35a7eb09d59afe8 (diff)
downloadoss-fuzz-7048975d6a98b8d76304992371102efb83cc84de.tar.gz
Fix parallel make command (#144)
'make -j' will make targets parallelly. In other words, "clean" may run after "all" for 'make -j clean all' line.
Diffstat (limited to 'projects/pcre2')
-rwxr-xr-xprojects/pcre2/build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/projects/pcre2/build.sh b/projects/pcre2/build.sh
index b2ee702c6..1ceccd946 100755
--- a/projects/pcre2/build.sh
+++ b/projects/pcre2/build.sh
@@ -20,7 +20,8 @@ cd pcre2
# 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
+make -j$(nproc) clean
+make -j$(nproc) all
# build fuzzer
$CXX $CXXFLAGS -o $OUT/pcre2_fuzzer \