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>
This commit is contained in:
Rui Paulo 2010-08-21 15:01:59 +00:00
parent 3a060e4a1a
commit 934f2f338c

View File

@ -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