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

musl-gcc cross platform support #72

Merged
merged 2 commits into from
May 17, 2020

Conversation

palfrey
Copy link
Contributor

@palfrey palfrey commented May 17, 2020

Instead of just invoking musl-gcc/gcc directly, it picks a platform-specific musl-gcc command and if it's meant to call gcc instead, it uses the platform-specific one.

gcc.Env = env
if b.Hermetic {
gcc.Env = env
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Without this, I couldn't set a path to aarch64-linux-musl-gcc!

@stapelberg stapelberg merged commit 2c1b713 into distr1:master May 17, 2020
@palfrey palfrey deleted the musl-cross-platform branch May 17, 2020 20:11
@palfrey palfrey mentioned this pull request May 17, 2020
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