[Libreoffice-commits] core.git: bin/oss-fuzz-build.sh
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Aug 19 15:21:50 UTC 2021
bin/oss-fuzz-build.sh | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 602dd66fecd92f97ac9206bb90a83d0a04dc8e59
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Aug 19 15:16:59 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Aug 19 17:21:15 2021 +0200
use sanitize-excludelist.txt for fuzzing CC as well as CXX
Change-Id: Ia470dbb9ab3ce86bedbadfd69ea145806530e4dc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120741
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/bin/oss-fuzz-build.sh b/bin/oss-fuzz-build.sh
index efc317f7bf91..36390015dbc2 100755
--- a/bin/oss-fuzz-build.sh
+++ b/bin/oss-fuzz-build.sh
@@ -10,6 +10,7 @@ echo start at `date -u`
#shuffle CXXFLAGS -stdlib=libc++ arg into CXX as well because we use
#the CXX as the linker and need to pass -stdlib=libc++ to build
export CXX="$CXX -stdlib=libc++ -fsanitize-blacklist=$SRC/libreoffice/bin/sanitize-excludelist.txt"
+export CC="$CC -fsanitize-blacklist=$SRC/libreoffice/bin/sanitize-excludelist.txt"
#similarly force the -fsanitize etc args in as well as pthread to get
#things to link successfully during the build
export LDFLAGS="$CFLAGS -Wl,--compress-debug-sections,zlib -lpthread"
More information about the Libreoffice-commits
mailing list