Closed jakirkham closed 7 years ago
Thank you for this pull request. Can you cleanly rebase it against the develop branch, so there is only your commit in it?
Sure, would definitely appreciate your review of the other PRs here as well.
Rebased.
Thanks!
Fixes https://github.com/lucastheis/cmt/issues/25
This argument is not permissible with
gcc
. Also if a custom compiler likeicc
or a non-system provided copy ofclang
is used, this flag will also not work. In other words, only with the macOS providedclang
can we safely add the-stdlib=libc++
flag. If users are changing the compiler to one that for some reason can take this flag, they can just as well set it themselves. Hence we only set whenCXX
is not specified.