summaryrefslogtreecommitdiff
path: root/solenv/gbuild
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-10-07 13:57:48 +0200
committerLuboš Luňák <l.lunak@collabora.com>2019-10-07 21:56:08 +0200
commit336bd632f916330de73f2fe739c6640449200f32 (patch)
tree01874afb61ea26fe87b13444bfc82c748e7f2a3c /solenv/gbuild
parentea49b745e7c5114e1ba71ae6d6197624713924f8 (diff)
handle more -arch: options when avoiding D9025
Change-Id: I97ff0418e25aeaea4cae349f2d228fb35219b5c2 Reviewed-on: https://gerrit.libreoffice.org/80374 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'solenv/gbuild')
-rw-r--r--solenv/gbuild/platform/com_MSC_class.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gbuild/platform/com_MSC_class.mk b/solenv/gbuild/platform/com_MSC_class.mk
index 3f2630e0eec4..3530bdf65ee9 100644
--- a/solenv/gbuild/platform/com_MSC_class.mk
+++ b/solenv/gbuild/platform/com_MSC_class.mk
@@ -45,10 +45,10 @@ endef
# Avoid annoying warning D9025 about overriding command-line arguments.
gb_Helper_remove_overriden_flags = \
- $(filter-out -W4 -w -arch:SSE -arch:AVX2 -Od -O2,$(1)) \
+ $(filter-out -W4 -w -arch:SSE -arch:SSE2 -arch:AVX -arch:AVX2 -Od -O2,$(1)) \
$(lastword $(filter -W4 -w,$(1))) \
$(lastword $(filter -Od -O2,$(1))) \
- $(lastword $(filter -arch:SSE -arch:AVX2,$(1)))
+ $(lastword $(filter -arch:SSE -arch:SSE2 -arch:AVX -arch:AVX2,$(1)))
# $(call gb_CObject__command_pattern,object,flags,source,dep-file,compiler-plugins,symbols)
define gb_CObject__command_pattern