diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-08-13 10:27:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-08-13 12:20:10 +0200 |
commit | fbc0524ee19e039cadea92d2dd163525bad5f661 (patch) | |
tree | 0a6dc79e82ec80f5907ff6fe3d34c35ec3c153af /bin | |
parent | 5ef48c6a7e294bcf7325daaa7e8c0c8c858d37ff (diff) |
compress debug sections for oss-fuzz
Change-Id: If633ffae3cd3acaf489a31891ca91f810c5e50c4
Reviewed-on: https://gerrit.libreoffice.org/58917
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/oss-fuzz-build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/oss-fuzz-build.sh b/bin/oss-fuzz-build.sh index 5cc1325c6980..07c4db955242 100755 --- a/bin/oss-fuzz-build.sh +++ b/bin/oss-fuzz-build.sh @@ -10,7 +10,7 @@ fi export CXX="$CXX -stdlib=libc++ -fsanitize-blacklist=$SRC/libreoffice/bin/sanitize-blacklist.txt" #similarly force the -fsanitize etc args in as well as pthread to get #things to link successfully during the build -export LDFLAGS="$CFLAGS -lpthread" +export LDFLAGS="$CFLAGS -Wl,--compress-debug-sections,zlib -lpthread" cd $WORK $SRC/libreoffice/autogen.sh --with-distro=LibreOfficeOssFuzz --with-external-tar=$SRC |