summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2014-09-28 12:13:51 +0000
committernyan <nyan@FreeBSD.org>2014-09-28 12:13:51 +0000
commit0cffab1f283ccd507db1cf3e6dcd23ed72e1666e (patch)
treeeffc60e41677e6913b661d032a2116016defe26c /sys/boot
parenta480732c7f1cd8419318fac22aaf3f093d24d6af (diff)
downloadFreeBSD-src-0cffab1f283ccd507db1cf3e6dcd23ed72e1666e.zip
FreeBSD-src-0cffab1f283ccd507db1cf3e6dcd23ed72e1666e.tar.gz
Reduce diffs against i386.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/pc98/boot2/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/boot/pc98/boot2/Makefile b/sys/boot/pc98/boot2/Makefile
index f462717..0b744aa 100644
--- a/sys/boot/pc98/boot2/Makefile
+++ b/sys/boot/pc98/boot2/Makefile
@@ -2,10 +2,6 @@
.include <bsd.own.mk>
-# XXX: clang can compile the boot code just fine, but boot2 gets too big
-#CC:= gcc
-#COMPILER_TYPE:= gcc
-
FILES= boot boot1 boot2
NM?= nm
@@ -114,4 +110,5 @@ boot2.h: boot1.out
.include <bsd.prog.mk>
# XXX: clang integrated-as doesn't grok .codeNN directives yet
-CFLAGS+= ${CLANG_NO_IAS}
+CFLAGS.boot1.S= ${CLANG_NO_IAS}
+CFLAGS+= ${CFLAGS.${.IMPSRC:T}}
OpenPOWER on IntegriCloud