From owner-cvs-src-old@FreeBSD.ORG Tue Sep 21 21:43:02 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0CA01065670 for ; Tue, 21 Sep 2010 21:43:02 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DDCC28FC14 for ; Tue, 21 Sep 2010 21:43:02 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o8LLh2oV074474 for ; Tue, 21 Sep 2010 21:43:02 GMT (envelope-from dim@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o8LLh2Fd074473 for cvs-src-old@freebsd.org; Tue, 21 Sep 2010 21:43:02 GMT (envelope-from dim@repoman.freebsd.org) Message-Id: <201009212143.o8LLh2Fd074473@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to dim@repoman.freebsd.org using -f From: Dimitry Andric Date: Tue, 21 Sep 2010 21:41:45 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/gnu/lib/libobjc Makefile src/sys/boot/i386/boot2 Makefile src/sys/boot/pc98/boot2 Makefile X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2010 21:43:03 -0000 dim 2010-09-21 21:41:45 UTC FreeBSD src repository Modified files: gnu/lib/libobjc Makefile sys/boot/i386/boot2 Makefile sys/boot/pc98/boot2 Makefile Log: SVN rev 212979 on 2010-09-21 21:41:45Z by dim When building world with clang, for gnu/lib/libobjc, sys/boot/i386/boot2 and sys/boot/pc98/boot2, do not simply assign 'gcc' to CC, since compile flags are sometimes passed via this variable, for example during the build32 stage on amd64. This caused the 32-bit libobjc build on amd64 to fail. Instead, only replace the first instance of clang (if any, including optional path) with gcc, and leave the arguments alone. Approved-by: rpaulo (mentor) Revision Changes Path 1.38 +1 -3 src/gnu/lib/libobjc/Makefile 1.65 +1 -3 src/sys/boot/i386/boot2/Makefile 1.28 +1 -3 src/sys/boot/pc98/boot2/Makefile