summaryrefslogtreecommitdiffstats
path: root/scripts/oss-fuzz
diff options
context:
space:
mode:
authorThomas Huth2020-07-17 08:57:42 +0200
committerThomas Huth2020-07-21 07:21:54 +0200
commit7cee363bc2eff06068db0dc3e59cbc5f1906067e (patch)
tree62e41fb97fe90fd63556c1f54b5d5183a0cffd35 /scripts/oss-fuzz
parentMerge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20200720'... (diff)
downloadqemu-7cee363bc2eff06068db0dc3e59cbc5f1906067e.tar.gz
qemu-7cee363bc2eff06068db0dc3e59cbc5f1906067e.tar.xz
qemu-7cee363bc2eff06068db0dc3e59cbc5f1906067e.zip
scripts/oss-fuzz: Limit target list to i386-softmmu
The build.sh script only copies qemu-fuzz-i386 to the destination folder, so we can speed up the compilation step quite a bit by not compiling the other targets here. Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/oss-fuzz')
-rwxr-xr-xscripts/oss-fuzz/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oss-fuzz/build.sh b/scripts/oss-fuzz/build.sh
index f5cee3d67e..a07b3022e8 100755
--- a/scripts/oss-fuzz/build.sh
+++ b/scripts/oss-fuzz/build.sh
@@ -68,7 +68,7 @@ mkdir -p "$DEST_DIR/lib/" # Copy the shared libraries here
# Build once to get the list of dynamic lib paths, and copy them over
../configure --disable-werror --cc="$CC" --cxx="$CXX" \
- --extra-cflags="$EXTRA_CFLAGS"
+ --extra-cflags="$EXTRA_CFLAGS" --target-list="i386-softmmu"
if ! make CONFIG_FUZZ=y CFLAGS="$LIB_FUZZING_ENGINE" "-j$(nproc)" \
i386-softmmu/fuzz; then