Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/stand/bootxx Do not pass libgcc.a to linker ...



details:   https://anonhg.NetBSD.org/src/rev/cda1a3840903
branches:  trunk
changeset: 320842:cda1a3840903
user:      sevan <sevan%NetBSD.org@localhost>
date:      Fri Mar 02 23:15:25 2018 +0000

description:
Do not pass libgcc.a to linker as it breaks build with MKGCC=no e.g HEAD-LLVM.
It doesn't appear to be required for the stock GCC build either, having been
able to build a release without it.

diffstat:

 sys/arch/macppc/stand/bootxx/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 85a9ccdd4ca9 -r cda1a3840903 sys/arch/macppc/stand/bootxx/Makefile
--- a/sys/arch/macppc/stand/bootxx/Makefile     Fri Mar 02 23:11:42 2018 +0000
+++ b/sys/arch/macppc/stand/bootxx/Makefile     Fri Mar 02 23:15:25 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2017/07/15 23:26:46 christos Exp $
+#      $NetBSD: Makefile,v 1.18 2018/03/02 23:15:25 sevan Exp $
 
 S!=    cd ${.CURDIR}/../../../..; pwd
 
@@ -23,7 +23,7 @@
 
 ${PROG}: ${OBJS}
        ${_MKTARGET_LINK}
-       ${LD} -o ${.TARGET}.sym ${LINKFLAGS} ${OBJS} ${DESTDIR}/usr/lib/libgcc.a
+       ${LD} -o ${.TARGET}.sym ${LINKFLAGS} ${OBJS}
        ${OBJCOPY} -O binary ${.TARGET}.sym ${.TARGET}
 
 .include <bsd.klinks.mk>



Home | Main Index | Thread Index | Old Index