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>
This commit is contained in:
parent
ea49b745e7
commit
336bd632f9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue