On 29.11.2024 02:49, Volodymyr Babchuk wrote: > --- a/xen/Rules.mk > +++ b/xen/Rules.mk > @@ -179,7 +179,7 @@ cpp_flags = $(filter-out -Wa$(comma)% -flto,$(1)) > # Calculation of flags, first the generic flags, then the arch specific > flags, > # and last the flags modified for a target or a directory. > > -c_flags = -MMD -MP -MF $(depfile) $(XEN_CFLAGS) > +c_flags = -MMD -MP -MF $(depfile) $(filter-out > $(CFLAGS_REMOVE),$(XEN_CFLAGS))
This looks rather fragile to me. Plus see the comment on the next patch, where this is actually used. Jan