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

New commits:
commit 3012ae908a0fdff495feb31be78ff4e8b16ca32f
Author: Noel Grandin <n...@peralex.com>
Date:   Sun Jun 3 08:30:42 2018 +0200

    windows link: only enable debug when we want symbols
    
    Change-Id: I3c15c2d38c677ff6b3eba7bcc2520a99bd1b63db
    Reviewed-on: https://gerrit.libreoffice.org/55242
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/solenv/gbuild/platform/com_MSC_class.mk 
b/solenv/gbuild/platform/com_MSC_class.mk
index 1dfa3b899ebf..3c3cfc472b9f 100644
--- a/solenv/gbuild/platform/com_MSC_class.mk
+++ b/solenv/gbuild/platform/com_MSC_class.mk
@@ -215,7 +215,7 @@ gb_Windows_PE_TARGETTYPEFLAGS := \
        -release \
        -opt:noref \
        -incremental:no \
-       -debug \
+       $(if $(filter $(true),$(gb_SYMBOL)),-debug) \
        $(if $(filter NO,$(LIBRARY_X64)), -safeseh) \
        -nxcompat \
        -dynamicbase \
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to