Skip to content

fix compilation on macOS #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 24, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
macOS: default to latest macOS if version string isnt found
  • Loading branch information
Jonathan Dahan committed Oct 1, 2018
commit e0fcdb88355b252032e7cecd5a0fcbe252f67071
1 change: 1 addition & 0 deletions search_sdks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ if [ ! -z "$selected_sdk" ]; then

# Remove the "u" if 10.4u Universal SDK is used.
min_str="${min_str%%u}"
min_str="${min_str:-10.14}"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some safety net


system_sdk="-isystem ${selected_sdk} -mmacosx-version-min=${min_str}"
else
Expand Down