From owner-freebsd-ports@freebsd.org Thu Jan 7 03:29:04 2016 Return-Path: Delivered-To: freebsd-ports@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 BC055A5533E for ; Thu, 7 Jan 2016 03:29:04 +0000 (UTC) (envelope-from wheelcomplex@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0A3BB1ABE for ; Thu, 7 Jan 2016 03:29:04 +0000 (UTC) (envelope-from wheelcomplex@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 059E9A5533D; Thu, 7 Jan 2016 03:29:04 +0000 (UTC) Delivered-To: ports@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 DF6CEA5533C for ; Thu, 7 Jan 2016 03:29:03 +0000 (UTC) (envelope-from wheelcomplex@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FD711A80 for ; Thu, 7 Jan 2016 03:29:03 +0000 (UTC) (envelope-from wheelcomplex@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id b14so103261593wmb.1 for ; Wed, 06 Jan 2016 19:29:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=2tViL7XFBgr2Zk8HAaDI/jIIzZIYB1jRl8aff8rXXV0=; b=ESxbKJ1Wqyh9jN5gj/iyYIMEVqsVL+1kItocN53H5XAFQzx5vg4kBr2V5U0nGGNluu o30L/3GANSVr0zDwzMqSDY4bwZanKzKI0qQtUZBgTELcUooWBqp9NDFyiZWe18vPuiC8 isfOZFZp2jZBtaGXmqaLtB/RqAu+5J0X1UhCWoRBQ7t3yQsW+fCGnZJhGHfZThPscHed G7VhM+SZB1bqK/HFBZO+iHnDB5X+ZSgdP/WKXghWcdAD4/TwiZ6j0gzk4qdKL+XaH7f3 RLV1s91VhStgSiTbtUB2duFIm+a1VGft8+8hBasx74x2I7Z3CCkEu/P6l23dGe+16H86 fuNQ== MIME-Version: 1.0 X-Received: by 10.28.4.139 with SMTP id 133mr13241059wme.21.1452137341036; Wed, 06 Jan 2016 19:29:01 -0800 (PST) Received: by 10.28.212.17 with HTTP; Wed, 6 Jan 2016 19:29:00 -0800 (PST) Date: Thu, 7 Jan 2016 11:29:00 +0800 Message-ID: Subject: patch devel/cpuflags default to use clang as CC when FreeBSD version >= 10 From: WheelComplex Yin To: ports@FreeBSD.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2016 03:29:04 -0000 Hi ports, Thanks for m*aintained devel/cpuflags.* And I found that it is still using gcc as default CC even in FreeBSD 11-CURRENT which default CC is clang. Here is a small patch to put in *devel/cpuflags/files, **patch devel/cpuflags default to use clang as CC when FreeBSD version >= 10* *Hope this can help FreeBSD better.* *Best Regard,* *wheelcomplex yin*