summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-13 10:27:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-13 12:20:10 +0200
commitfbc0524ee19e039cadea92d2dd163525bad5f661 (patch)
tree0a6dc79e82ec80f5907ff6fe3d34c35ec3c153af /bin
parent5ef48c6a7e294bcf7325daaa7e8c0c8c858d37ff (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-xbin/oss-fuzz-build.sh2
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