Date: Sat, 21 Aug 2010 15:01:59 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r211571 - head/sys/boot/i386/boot2 Message-ID: <201008211501.o7LF1x7c072983@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rpaulo Date: Sat Aug 21 15:01:59 2010 New Revision: 211571 URL: http://svn.freebsd.org/changeset/base/211571 Log: Make sure the boot2 stage is compiled with gcc, as clang has no problems compiling it, but it just gets too big at the moment, even with -Os. This is not applicable to gptboot, though. Submitted by: Dimitry Andric <dimitry at andric.com> Modified: head/sys/boot/i386/boot2/Makefile Modified: head/sys/boot/i386/boot2/Makefile ============================================================================== --- head/sys/boot/i386/boot2/Makefile Sat Aug 21 14:59:37 2010 (r211570) +++ head/sys/boot/i386/boot2/Makefile Sat Aug 21 15:01:59 2010 (r211571) @@ -1,5 +1,10 @@ # $FreeBSD$ +.include <bsd.own.mk> + +# XXX: clang can compile the boot code just fine, but boot2 gets too big +CC:=${CC:C/^cc|^clang/gcc/} + FILES= boot boot1 boot2 NM?= nm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008211501.o7LF1x7c072983>