macOS: default to latest macOS if version string isnt found

This commit is contained in:
Jonathan Dahan 2018-10-01 14:16:57 -04:00
parent 9a98aed96e
commit e0fcdb8835
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ if [ ! -z "$selected_sdk" ]; then
# Remove the "u" if 10.4u Universal SDK is used. # Remove the "u" if 10.4u Universal SDK is used.
min_str="${min_str%%u}" min_str="${min_str%%u}"
min_str="${min_str:-10.14}"
system_sdk="-isystem ${selected_sdk} -mmacosx-version-min=${min_str}" system_sdk="-isystem ${selected_sdk} -mmacosx-version-min=${min_str}"
else else