fuzz: disable all deps when building with oss-fuzz

The fuzz targets are intended to be fast and only target systemd
code, so they don't need to call out to any dependencies. They also
shouldn't depend on shared libraries outside of libc, so we disable
every dependency when compiling against oss-fuzz. This also
simplifies the upstream build environment significantly.
This commit is contained in:
Jonathan Rudenberg
2018-01-17 13:57:06 -05:00
parent 7db7d5b733
commit b4081f3ea2
2 changed files with 32 additions and 28 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ set -ex
export LC_CTYPE=C.UTF-8
meson $WORK -Doss-fuzz=true -Db_lundef=false -Dseccomp=false -Dlz4=false -Dlibiptc=false -Dlibidn=false
meson $WORK -Doss-fuzz=true -Db_lundef=false
ninja -C $WORK fuzzers
# get DNS packet corpus