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"
|
||||
# used for -Xpreprocessor -fopenmp
|
||||
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
|
||||
args << arg
|
||||
when "--fast-math"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user