[Libreoffice-commits] core.git: solenv/gbuild

Caolán McNamara caolanm at redhat.com
Mon Dec 5 08:59:38 UTC 2016


 solenv/gbuild/platform/linux.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d7ea9b443701268f137483e008d0514236a88b91
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Dec 5 08:57:59 2016 +0000

    for oss-fuzz check LDFLAGS for -fsanitize too
    
    Change-Id: I3de0776060c88c3f5705c67ea32ea1843876553e

diff --git a/solenv/gbuild/platform/linux.mk b/solenv/gbuild/platform/linux.mk
index 0b4ced4..f0276fe 100644
--- a/solenv/gbuild/platform/linux.mk
+++ b/solenv/gbuild/platform/linux.mk
@@ -9,7 +9,7 @@
 
 gb__LinkTarget_LDFLAGS_zdefs := -Wl,-z,defs
 ifeq ($(COM_IS_CLANG),TRUE)
-ifneq ($(filter -fsanitize=%,$(CC)),)
+ifneq ($(filter -fsanitize=%,$(CC) $(LDFLAGS)),)
 gb__LinkTarget_LDFLAGS_zdefs :=
 endif
 endif


More information about the Libreoffice-commits mailing list