On 16/02/16 16:24, Jakub Jelinek wrote:
Passing the - and ftree-parallelize-loops= stuff looks weird,
and we have %* that substitutes just the variable part of the option,
so in addition to fixing the case of multiple options I've also changed
%:gt() behaviour, so that it now gets just the numbers and compares the
last two of them.

FTR, version-compare uses yet another variant: It does not expect to be called with an %{S*} or %{S*:%*} expansion, but passes S as an argument:
...
%:version-compare(>= 10.3 mmacosx-version-min= -lmx)
...
and the spec function itself takes care of finding the last value.

Thanks,
- Tom

Reply via email to