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:
parent
3a060e4a1a
commit
934f2f338c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user