diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-08-21 15:01:59 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-08-21 15:01:59 +0000 |
commit | 29c990d32567eba65c1b5f1ea5f6518b816dd429 (patch) | |
tree | c50e0556dab37aa05d42f2edb38e097ed5668713 /sys/boot/i386/boot2/Makefile | |
parent | 6787401fc4103dc44fd9563e57ee0a838fad2ade (diff) | |
download | FreeBSD-src-29c990d32567eba65c1b5f1ea5f6518b816dd429.zip FreeBSD-src-29c990d32567eba65c1b5f1ea5f6518b816dd429.tar.gz |
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>
Diffstat (limited to 'sys/boot/i386/boot2/Makefile')
-rw-r--r-- | sys/boot/i386/boot2/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile index ab5a69a..84a63c1 100644 --- a/sys/boot/i386/boot2/Makefile +++ b/sys/boot/i386/boot2/Makefile @@ -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 |