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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to