svn commit: r290124 - stable/10/sys/boot/pc98/boot2
John Baldwin
jhb at FreeBSD.org
Thu Oct 29 00:18:05 UTC 2015
Author: jhb
Date: Thu Oct 29 00:18:03 2015
New Revision: 290124
URL: https://svnweb.freebsd.org/changeset/base/290124
Log:
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.
Modified:
stable/10/sys/boot/pc98/boot2/Makefile
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/boot/pc98/boot2/Makefile
==============================================================================
--- stable/10/sys/boot/pc98/boot2/Makefile Wed Oct 28 23:39:33 2015 (r290123)
+++ stable/10/sys/boot/pc98/boot2/Makefile Thu Oct 29 00:18:03 2015 (r290124)
@@ -93,6 +93,7 @@ boot2.out: ${BTXCRT} boot2.o sio.o
${LD} ${LD_FLAGS} -Ttext ${ORG2} -o ${.TARGET} ${.ALLSRC}
boot2.o: boot2.s
+ ${CC} ${ACFLAGS} -c boot2.s
SRCS= boot2.c boot2.h
More information about the svn-src-stable-10
mailing list