From owner-svn-src-all@FreeBSD.ORG Mon Jul 14 15:54:50 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D4B0835E; Mon, 14 Jul 2014 15:54:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C148825FF; Mon, 14 Jul 2014 15:54:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6EFsoDW041770; Mon, 14 Jul 2014 15:54:50 GMT (envelope-from pfg@svn.freebsd.org) Received: (from pfg@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6EFsohH041769; Mon, 14 Jul 2014 15:54:50 GMT (envelope-from pfg@svn.freebsd.org) Message-Id: <201407141554.s6EFsohH041769@svn.freebsd.org> From: "Pedro F. Giffuni" Date: Mon, 14 Jul 2014 15:54:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r268622 - stable/10/tools/test/dtrace X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2014 15:54:50 -0000 Author: pfg Date: Mon Jul 14 15:54:50 2014 New Revision: 268622 URL: http://svnweb.freebsd.org/changeset/base/268622 Log: MFC r268538: Avoid hardcoding "gcc" in the DTrace tests. At least one test doesn't work yet without gcc, however gcc is not always available in base. Using the environment compiler is more trustable and will also work with an external compiler. Reviewed by: markj Modified: stable/10/tools/test/dtrace/Makefile Directory Properties: stable/10/ (props changed) Modified: stable/10/tools/test/dtrace/Makefile ============================================================================== --- stable/10/tools/test/dtrace/Makefile Mon Jul 14 14:33:03 2014 (r268621) +++ stable/10/tools/test/dtrace/Makefile Mon Jul 14 15:54:50 2014 (r268622) @@ -340,7 +340,7 @@ listprgs : .for _f in ${ALL_TESTCFILES} ${_f:T:S/c$/exe/} : ${_f} - gcc -o ${.TARGET} ${_f} -lrt + ${CC} -o ${.TARGET} ${_f} -lrt .endfor listcfiles :