Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2010 17:38:20 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r212062 - head/sys/boot/pc98/boot2
Message-ID:  <201008311738.o7VHcKjA037145@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.own.mk>
+
+# 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008311738.o7VHcKjA037145>