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

Support AutoTools CC_FOR_BUILD variable #15486

Open
1 task done
klausholstjacobsen opened this issue Jan 20, 2024 · 1 comment
Open
1 task done

Support AutoTools CC_FOR_BUILD variable #15486

klausholstjacobsen opened this issue Jan 20, 2024 · 1 comment
Assignees
Milestone

Comments

@klausholstjacobsen
Copy link

klausholstjacobsen commented Jan 20, 2024

What is your suggestion?

Hello
Conan 2.0.16

I am cross building various packages.
I have both a build profile and host profile which both has tool_requires to their respective toolchain packages.
These toolchain packages define (among other things) tools.build:compiler_executables.
This works well in many cases.
But sometimes I come across packages that build with autotools and uses the CC_FOR_BUILD variable to find the compiler for the build host. These packages always find my system installed gcc. I do not want that.

I suggest that if I have a build profile that define tools.build:compiler_executables in the build context then AutoToolsToolchain should define the CC_FOR_BUILD variable to point to the compiler here.

Regards
Klaus

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide
@memsharded
Copy link
Member

Hi @klausholstjacobsen

Sorry this was not responded back then.
There is this other thread that is touching the same aspect: #15878

@memsharded memsharded added this to the 2.3.0 milestone Mar 20, 2024
@memsharded memsharded modified the milestones: 2.3.0, 2.4.0 May 6, 2024
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

No branches or pull requests

3 participants