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

fixing clang-cl flags #17387

Merged
merged 1 commit into from
Nov 29, 2024
Merged

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented Nov 27, 2024

Changelog: Bugfix: Add correct flags when compiler=clang and compiler_executables={"c": "clang-cl"} to not inject incorrect flags when cross-building from Linux to Windows.
Docs: Omit

Close #17039

@@ -1,11 +1,12 @@
from conans.model.version import Version


def architecture_flag(settings):
def architecture_flag(conanfile):
Copy link
Member

Choose a reason for hiding this comment

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

Not documented so users are not meant to use it, so not a breaking change! 👍

@czoido czoido merged commit a4f1717 into conan-io:develop2 Nov 29, 2024
2 checks passed
@memsharded memsharded deleted the fix/clang_cl_flags branch November 29, 2024 14:37
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.

[bug] When compiler is clang-cl and runtime=None, incorrect architecture flags are generated
3 participants