On 11/29/2012 05:46 PM, Yamaya Takashi wrote:
On 2012/11/30 06:30, Dimitry Andric wrote:
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...
I am NOT committer.
Please commit Mk/bsd.compiler.mk.
[usr/ports/]Mk/bsd.compiler.mk is differ from
[usr/src/]share/mk/bsd.compiler.mk.
Ports version accepts another compiler, e.g. CC=icc, but Base version not.
Should it be sufficient to use logic like COMPILER_TYPE in combination
with OSVERSION?
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"