From: Evgeny Vereshchagin Date: Tue, 30 Mar 2021 02:31:09 +0000 (+0000) Subject: oss-fuzz.sh: get rid of the sed "no-undefined" kludge X-Git-Tag: lxc-5.0.0~223^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49ffe5da49b1ec8e7617530112de8fda7400fe10;p=thirdparty%2Flxc.git oss-fuzz.sh: get rid of the sed "no-undefined" kludge Signed-off-by: Evgeny Vereshchagin --- diff --git a/src/tests/oss-fuzz.sh b/src/tests/oss-fuzz.sh index eee3d0144..21e0c5af6 100755 --- a/src/tests/oss-fuzz.sh +++ b/src/tests/oss-fuzz.sh @@ -24,10 +24,6 @@ mkdir -p $OUT export LIB_FUZZING_ENGINE=${LIB_FUZZING_ENGINE:--fsanitize=fuzzer} -# -fsanitize=... isn't compatible with -Wl,-no-undefined -# https://github.com/google/sanitizers/issues/380 -sed -i 's/-Wl,-no-undefined *\\/\\/' src/lxc/Makefile.am - # AFL++ and hoggfuzz are both incompatible with lto=thin apparently sed -i '/-flto=thin/d' configure.ac @@ -42,7 +38,8 @@ sed -i 's/^AC_CHECK_LIB(util/#/' configure.ac --disable-openssl \ --disable-selinux \ --disable-seccomp \ - --disable-capabilities + --disable-capabilities \ + --disable-no-undefined make -j$(nproc)