How to handle WITH_CLANG_IS_CC in ports
Dimitry Andric
dim at FreeBSD.org
Thu Nov 29 21:30:29 UTC 2012
On 2012-11-29 20:47, Tobias Rehbein wrote:> Am Fri, Nov 30, 2012 at 02:51:31AM +0900 schrieb Yamaya Takashi:
>>
>> Include Mk/bsd.compiler.mk, and
>> .if ${COMPILER_TYPE} == "clang"
>> clang specific code
>> .endif
>>
>
> Thanks. This is exactly what I was looking for. It is available in
> CURRENT only though.
FYI, I merged bsd.compiler.mk and the rest of the COMPILER_TYPE logic to
stable/9 in r243041. It will not be in 9.1-RELEASE, though...
More information about the freebsd-ports
mailing list