diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-19 15:16:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-19 17:21:15 +0200 |
commit | 602dd66fecd92f97ac9206bb90a83d0a04dc8e59 (patch) | |
tree | 26383cb68dc1421188f706b7ea5fda200e8c593d /bin | |
parent | 407b53dd2246e727d19fe94c82cb357af2e4f8ed (diff) |
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-x | bin/oss-fuzz-build.sh | 1 |
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" |