Set CC to clang++

Steven Smith steve.t.smith at gmail.com
Thu Nov 21 22:35:14 UTC 2019


I must set the clang compiler to clang++ or g++ to avoid some ld symbol mangling issue (see below).

What’s the right Portfile directive to do this?

Effectively, I believe that I need:

CC=/usr/bin/clang++


Error on the Mac: Undefined symbols for architecture x86_64 · Issue #285 · nlohmann/json
https://github.com/nlohmann/json/issues/285#issuecomment-348090484
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20191121/4955c395/attachment.bin>


More information about the macports-dev mailing list