diff options
author | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-03-20 17:57:49 +0100 |
---|---|---|
committer | Stephan Bergmann <stephan.bergmann@allotropia.de> | 2024-03-21 11:35:00 +0100 |
commit | f9da95ca43dc10cda99d985a6365aec2ede3be4f (patch) | |
tree | 55989555fa2ad4a512bbd15b45c0e81703234196 | |
parent | related tdf#147583 sw find: fix backwards search for string at end of para (diff) | |
download | core-f9da95ca43dc10cda99d985a6365aec2ede3be4f.tar.gz core-f9da95ca43dc10cda99d985a6365aec2ede3be4f.zip |
Assume this hack is actually needed for --enable-optimized
...and not for whatever dbglevel is set. (The latest claim that this hack is
still needed at all is in the 2020-12-14 commit message
e0a90aa3239621958bddbb30f98163e8c1ef857f "The workaround for MSVC C4702 is still
needed".)
Change-Id: Ia73be9417f2d738b0356e36b978beff019388ae1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165073
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
-rw-r--r-- | solenv/gbuild/platform/com_MSC_defs.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk index fa6a2d45bd58..2f1b653bef47 100644 --- a/solenv/gbuild/platform/com_MSC_defs.mk +++ b/solenv/gbuild/platform/com_MSC_defs.mk @@ -175,7 +175,7 @@ ifneq ($(COM_IS_CLANG),TRUE) # https://lists.freedesktop.org/archives/libreoffice/2018-July/080532.html # https://lists.freedesktop.org/archives/libreoffice/2018-August/080776.html gb_CXXFLAGS += \ - $(if $(filter 0,$(gb_DEBUGLEVEL)),-wd4702) \ + $(if $(ENABLE_OPTIMIZED),-wd4702) \ endif |