Skip to content

Conversation

@compnerd
Copy link
Member

@compnerd compnerd commented May 7, 2020

Rework _add_host_variant_c_compile_link_flags to apply the flags
directly rather than to compute the value and have the caller apply.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

Rework `_add_host_variant_c_compile_link_flags` to apply the flags
directly rather than to compute the value and have the caller apply.
@compnerd
Copy link
Member Author

compnerd commented May 7, 2020

@swift-ci please clean test

@compnerd
Copy link
Member Author

compnerd commented May 7, 2020

CC: @drexin

@drexin drexin merged commit a554f08 into swiftlang:master May 12, 2020
edymtt added a commit to edymtt/swift that referenced this pull request May 14, 2020
Following swiftlang#31125 and swiftlang#31612, `-target` is not added automatically to
linker flags when that's needed (e.g. when building for Apple SDKs) --
mimic the logic used to add it for compiler flags.

Addresses rdar://63138761
edymtt added a commit that referenced this pull request May 18, 2020
Following #31125 and #31612, `-target` is not added automatically to
linker flags when that's needed (e.g. when building for Apple SDKs) --
mimic the logic used to add it for compiler flags.

Addresses rdar://63138761
@compnerd compnerd deleted the out-in branch June 30, 2020 18:51
edymtt added a commit to edymtt/swift that referenced this pull request Jul 2, 2020
Following the refactoring in swiftlang#31612, LTO flag was only added to compile
flags -- we need to pass this only when linking.

Addresses rdar://65037856
edymtt added a commit that referenced this pull request Jul 2, 2020
Following the refactoring in #31612, LTO flag was only added to compile
flags -- we need to pass this only when linking.

Addresses rdar://65037856
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.

2 participants