summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-08-19 15:16:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-08-19 17:21:15 +0200
commit602dd66fecd92f97ac9206bb90a83d0a04dc8e59 (patch)
tree26383cb68dc1421188f706b7ea5fda200e8c593d /bin
parentScriptForge - (PDF Export) get/set options, export as PDF file (diff)
downloadcore-602dd66fecd92f97ac9206bb90a83d0a04dc8e59.tar.gz
core-602dd66fecd92f97ac9206bb90a83d0a04dc8e59.zip
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@redhat.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/oss-fuzz-build.sh1
1 files changed, 1 insertions, 0 deletions
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"