Skip to content
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

[cmake] Fix availability macro warnings when bootstrapping #41158

Merged
merged 1 commit into from Feb 3, 2022

Conversation

Azoy
Copy link
Member

@Azoy Azoy commented Feb 2, 2022

This resolves a "few" warnings on platforms that bootstrap their standard library. The issue here is the the bootstrapping libraries were not being passed the availability macro compilation flags, so make sure they get that. This moves the availability macro definitions from add_swift_target_library to add_swift_target_library_single.

Resolves: rdar://88357407

@Azoy
Copy link
Member Author

Azoy commented Feb 2, 2022

@swift-ci please smoke test

@Azoy Azoy merged commit b97795d into apple:main Feb 3, 2022
@Azoy Azoy deleted the fix-linux-warnings branch February 3, 2022 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants