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
When using clang, prefer clang++ over g++ #32
Conversation
Graham, Thanks for the PR. I'll review it tomorrow (Tuesday) and try to get it In the longrun we're trying to move as much of the logic as possible into Thanks again, Dave On Mon, Aug 3, 2015 at 8:38 PM, Graham Ollis notifications@github.com
David Oswald |
When using clang, prefer clang++ over g++
This has been merged, and will be included in the next CPAN release. |
Thanks! It installs great now with that gcc / clang / perl combo. |
On my system gcc / g++ is much older than the clang / clang++ used to build Perl, and does not support the
-fstack-protector-strong
option that was apparently used when building Perl. I suggest usingclang++
instead ofg++
when the$Config{cc}
isclang
. This PR works for me, although I am happy to adjust it and test if you have a preferred solution. I am also happy to coordinate withExtUtils::CppGuess
if you think detection logic should go in there. What follows is the test failure that I get without this patch.