Skip to content

ToolFamily detected incorrectly on my macbook pro #418

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

Closed
mtak- opened this issue Jun 27, 2019 · 1 comment
Closed

ToolFamily detected incorrectly on my macbook pro #418

mtak- opened this issue Jun 27, 2019 · 1 comment

Comments

@mtak-
Copy link

mtak- commented Jun 27, 2019

On my macos machine, cc::Build::new() always detects c++ as the compiler which is really just a wrapper around apple clang. Because the name is c++ it is detected as part of the Gnu family.

EDIT: Err - it detects c++ as the compiler when building for x86_64-apple-ios (64-bit ios simulator). I was in a bit of a rush when I reported this issue.

@alexcrichton
Copy link
Member

I think this is a duplicate of #408 so I'm going to close in favor of that.

bors bot added a commit to grovesNL/spirv_cross that referenced this issue Jun 27, 2019
103: workaround ios build issues r=grovesNL a=mtak-

This PR works around an iOS simulator build issue where the `c++14` flag was not being set when targeting ios.

For some reason `cc` is detecting `c++` as the default compiler which is just a thin wrapper around apple clang.

rust-lang/cc-rs#418

Co-authored-by: tyler <[email protected]>
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

2 participants