From owner-svn-src-all@FreeBSD.ORG Tue Aug 31 17:38:20 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E92BB10656B2; Tue, 31 Aug 2010 17:38:20 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D8EF38FC12; Tue, 31 Aug 2010 17:38:20 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o7VHcK4j037147; Tue, 31 Aug 2010 17:38:20 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o7VHcKjA037145; Tue, 31 Aug 2010 17:38:20 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201008311738.o7VHcKjA037145@svn.freebsd.org> From: Dimitry Andric Date: Tue, 31 Aug 2010 17:38:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r212062 - head/sys/boot/pc98/boot2 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 31 Aug 2010 17:38:21 -0000 Author: dim Date: Tue Aug 31 17:38:20 2010 New Revision: 212062 URL: http://svn.freebsd.org/changeset/base/212062 Log: Always compile pc98 boot2 with gcc instead of clang, just as with i386 boot2. Unfortunately both still are too big when compiled with clang. Reviewed by: nyan Approved by: rpaulo (mentor) Modified: head/sys/boot/pc98/boot2/Makefile Modified: head/sys/boot/pc98/boot2/Makefile ============================================================================== --- head/sys/boot/pc98/boot2/Makefile Tue Aug 31 17:33:48 2010 (r212061) +++ head/sys/boot/pc98/boot2/Makefile Tue Aug 31 17:38:20 2010 (r212062) @@ -1,5 +1,12 @@ # $FreeBSD$ +.include + +# XXX: clang can compile the boot code just fine, but boot2 gets too big +.if ${CC:T:Mclang} == "clang" +CC=gcc +.endif + FILES= boot boot1 boot2 NM?= nm