summaryrefslogtreecommitdiff
path: root/sys/boot/pc98
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2010-08-31 17:38:20 +0000
committerDimitry Andric <dim@FreeBSD.org>2010-08-31 17:38:20 +0000
commit52e2247273baf52aa772948a9a0ea28690e2da2d (patch)
tree41559fcb30827ea0115ed82e2f43f517bf1cbbc6 /sys/boot/pc98
parent5b610048ecfd93f9fe08485a13a7a9545a1788b0 (diff)
Notes
Diffstat (limited to 'sys/boot/pc98')
-rw-r--r--sys/boot/pc98/boot2/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/boot/pc98/boot2/Makefile b/sys/boot/pc98/boot2/Makefile
index 63f364c2261a..5f7355fd7838 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