Re: [HEADSUP] FYI: patch to ports that do not build with clang has been committed

From: Claude Buisson <clbuisson_at_orange.fr>
Date: Fri, 12 Oct 2012 09:54:01 +0200
On 10/12/2012 05:00, matt wrote:
>
>>>
>>> I have made changes to ports/Mk/bsd.gcc.mk that allow the addition of
>>> "USE_GCC=any" to a port's Makefile, and then committed that change to
>>> various ports.  In most (but not all!) cases this will tell the port
>>> "build with gcc instead of clang" (*) .
>>>
>>
>> Why not USE_GCC ?= any for the poor guys like me who build (some)
>> ports with
>> USE_GCC=4.6 ?
>>
>>> For those users with CC installed as gcc (including -stable), this
>>> patch should have no effect.  Variations of combinations have been
>>> heavily tested on pointyhat-west.  If there are any regressions, please
>>> contact me.
>>>
>>
>>
>
> Does  this override setting CC explicitly in make.conf?
> Sorry if it's a dumb question, not sure exactly the hierarchy of USE_GCC
> vs CC in the make system.
>

Dumb as I am, I also wonder when I see that in multimedia/x264:

...
USE_GCC=	any
...
.if ${PORT_OPTIONS:MGCC44}
USE_GCC?=	4.4+
.endif
...

which seems to deny the intent of the GCC44 option

Sorry but I can not make the test at this present time

>  Matt

Claude Buisson
Received on Fri Oct 12 2012 - 05:54:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC