Fix sys/boot/i386/cdboot/cdboot.S compilation with clang after r235219.

This file uses .code16 directives, which are not yet supported by
clang's integrated assembler.

MFC after:	1 month
This commit is contained in:
Dimitry Andric 2012-05-11 18:07:23 +00:00
parent 07d249d661
commit d681f8bf6c

View File

@ -13,3 +13,7 @@ ORG= 0x7c00
LDFLAGS=-e start -Ttext ${ORG} -Wl,-N,-S,--oformat,binary
.include <bsd.prog.mk>
# XXX: clang integrated-as doesn't grok .codeNN directives yet
CFLAGS.cdboot.S= ${CLANG_NO_IAS}
CFLAGS+= ${CFLAGS.${.IMPSRC:T}}