Skip to content

Commit e0fcdb8

Browse files
author
Jonathan Dahan
committed
macOS: default to latest macOS if version string isnt found
1 parent 9a98aed commit e0fcdb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

search_sdks.sh

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ if [ ! -z "$selected_sdk" ]; then
8585

8686
# Remove the "u" if 10.4u Universal SDK is used.
8787
min_str="${min_str%%u}"
88+
min_str="${min_str:-10.14}"
8889

8990
system_sdk="-isystem ${selected_sdk} -mmacosx-version-min=${min_str}"
9091
else

0 commit comments

Comments
 (0)