MFC 278582:
MFi386: When building some of the boot loaders with clang, and DEBUG_FLAGS or CFLAGS having '-g' in it, clang outputs several assembly directives that are too new for our version of binutils. Therefore, assemble the resulting .s files with clang instead. A more general solution can be implemented when a GNU as-compatible driver for clang's integrated assembler appears.
This commit is contained in:
parent
d47ec59d9c
commit
a8f2fadc53
@ -93,6 +93,7 @@ boot2.out: ${BTXCRT} boot2.o sio.o
|
|||||||
${LD} ${LD_FLAGS} -Ttext ${ORG2} -o ${.TARGET} ${.ALLSRC}
|
${LD} ${LD_FLAGS} -Ttext ${ORG2} -o ${.TARGET} ${.ALLSRC}
|
||||||
|
|
||||||
boot2.o: boot2.s
|
boot2.o: boot2.s
|
||||||
|
${CC} ${ACFLAGS} -c boot2.s
|
||||||
|
|
||||||
SRCS= boot2.c boot2.h
|
SRCS= boot2.c boot2.h
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user