diff options
author | dim <dim@FreeBSD.org> | 2010-08-31 17:38:20 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2010-08-31 17:38:20 +0000 |
commit | 8902e95517f765c3c460a9eeb28aa143253efd9e (patch) | |
tree | 41559fcb30827ea0115ed82e2f43f517bf1cbbc6 /sys/boot/pc98 | |
parent | ca23efd6619e06ae1fe8138586de5723be85af5a (diff) | |
download | FreeBSD-src-8902e95517f765c3c460a9eeb28aa143253efd9e.zip FreeBSD-src-8902e95517f765c3c460a9eeb28aa143253efd9e.tar.gz |
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)
Diffstat (limited to 'sys/boot/pc98')
-rw-r--r-- | sys/boot/pc98/boot2/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/boot/pc98/boot2/Makefile b/sys/boot/pc98/boot2/Makefile index 63f364c..5f7355f 100644 --- a/sys/boot/pc98/boot2/Makefile +++ b/sys/boot/pc98/boot2/Makefile @@ -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 |