svn commit: r212062 - head/sys/boot/pc98/boot2

Dimitry Andric dim at FreeBSD.org
Tue Aug 31 17:38:21 UTC 2010


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


More information about the svn-src-head mailing list