compiling dports with clang

John Marino dragonflybsd at marino.st
Tue Mar 22 07:20:10 PDT 2016


On 3/22/2016 3:15 PM, karu.pruun wrote:
> Hello
>
> I was trying to compile www/node with clang:
>
> # env CCVER=clang36 make install
>
> but the result says it's gcc 5.3.1:
>
> # objdump -s -j .comment /usr/local/bin/node
>
> .GCC: 5.3.1 [DragonFly] Release/2015-12-04
>
> while a clang compiled file should say:
>
> .GCC: 5.3.1 [DragonFly] Release/2015-12-04.clang version 3.6.2
> (tags/RELEASE_362/final)
>
> What did I miss?
>

It's intentionally not supported.  Don't do it.
(Why would you even want to?)

The ports framework will override any setting of CCVER and as I just 
mentioned, that's intentional.

John



More information about the Users mailing list