summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2018-06-03 08:30:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-05 11:23:00 +0200
commit3012ae908a0fdff495feb31be78ff4e8b16ca32f (patch)
tree5398923ae55b12a1e5e9c93b2bc8767d65d71174 /solenv
parenta0fdfe83bd5530aa49028c13ce71723030367407 (diff)
windows link: only enable debug when we want symbols
Change-Id: I3c15c2d38c677ff6b3eba7bcc2520a99bd1b63db Reviewed-on: https://gerrit.libreoffice.org/55242 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/com_MSC_class.mk2
1 files changed, 1 insertions, 1 deletions
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 \