Merge pull request #5606 from treese/fix-set-min-version
Fix regexp to allow multiple digits in Mac OS minor version.
This commit is contained in:
commit
2cc50864cc
@ -190,7 +190,7 @@ class Cmd
|
|||||||
when "-Xpreprocessor"
|
when "-Xpreprocessor"
|
||||||
# used for -Xpreprocessor -fopenmp
|
# used for -Xpreprocessor -fopenmp
|
||||||
args << arg << enum.next
|
args << arg << enum.next
|
||||||
when /-mmacosx-version-min=10\.(\d)/
|
when /-mmacosx-version-min=10\.(\d+)/
|
||||||
arg = "-mmacosx-version-min=10.9" if high_sierra_or_later? && $1.to_i < 9
|
arg = "-mmacosx-version-min=10.9" if high_sierra_or_later? && $1.to_i < 9
|
||||||
args << arg
|
args << arg
|
||||||
when "--fast-math"
|
when "--fast-math"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user