]> git.proxmox.com Git - mirror_lxc.git/commitdiff
oss-fuzz.sh: get rid of the sed "no-undefined" kludge
authorEvgeny Vereshchagin <evvers@ya.ru>
Tue, 30 Mar 2021 02:31:09 +0000 (02:31 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Tue, 30 Mar 2021 04:22:46 +0000 (04:22 +0000)
Signed-off-by: Evgeny Vereshchagin <evvers@ya.ru>
src/tests/oss-fuzz.sh

index eee3d01447a3ee3cc1aaaa47db2c298284ff83da..21e0c5af6cf9c5f75f456cee1ee7bc7338b9c960 100755 (executable)
@@ -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)