Date: Wed, 14 Oct 2009 13:58:24 +0000 (UTC) From: Roman Divacky <rdivacky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r198078 - projects/clangbsd/share/mk Message-ID: <200910141358.n9EDwOGO038612@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rdivacky Date: Wed Oct 14 13:58:24 2009 New Revision: 198078 URL: http://svn.freebsd.org/changeset/base/198078 Log: change the default CC to be clang. this way you can tell by looking at command line if gcc or clang is used in a typical compilation Modified: projects/clangbsd/share/mk/sys.mk Modified: projects/clangbsd/share/mk/sys.mk ============================================================================== --- projects/clangbsd/share/mk/sys.mk Wed Oct 14 13:12:00 2009 (r198077) +++ projects/clangbsd/share/mk/sys.mk Wed Oct 14 13:58:24 2009 (r198078) @@ -34,7 +34,7 @@ AFLAGS ?= CC ?= c89 CFLAGS ?= -O .else -CC ?= cc +CC ?= clang .if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "mips" CFLAGS ?= -O -pipe .else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910141358.n9EDwOGO038612>