From owner-freebsd-toolchain@freebsd.org Fri Mar 11 04:22:47 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A9207ACA637 for ; Fri, 11 Mar 2016 04:22:47 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D1D474E for ; Fri, 11 Mar 2016 04:22:46 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id u2B4N4VM030207 for ; Thu, 10 Mar 2016 20:23:11 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: "FreeBSD toolchain" From: "Chris H" Subject: How to insist on only clang, for world/kernel? Date: Thu, 10 Mar 2016 20:23:11 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2016 04:22:47 -0000 Greetings, A recent build/install world/kernel on a fresh 9-STABLE. I was surprised to see that, while clang was also built, gcc was used to perform the build for at least world. I performed some research to definitively determine the magic incantation for at least src.conf(5). However, I found too many possibilities to be sure. So I'm here to beg for the answer. The most likely candidates I have so far FAVORITE_COMPILER=clang MAKE_COMPILER_TYPE=clang WITH_CLANG=true CC=clang CXX=clang++ CPP=clang-cpp Thanks you. --Chris --