Module Name:    src
Committed By:   sevan
Date:           Fri Mar  2 23:15:25 UTC 2018

Modified Files:
        src/sys/arch/macppc/stand/bootxx: Makefile

Log Message:
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.

To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/macppc/stand/bootxx/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/macppc/stand/bootxx/Makefile
diff -u src/sys/arch/macppc/stand/bootxx/Makefile:1.17 src/sys/arch/macppc/stand/bootxx/Makefile:1.18
--- src/sys/arch/macppc/stand/bootxx/Makefile:1.17	Sat Jul 15 23:26:46 2017
+++ src/sys/arch/macppc/stand/bootxx/Makefile	Fri Mar  2 23:15:25 2018
@@ -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 @@ CLEANFILES+=	${PROG}.sym
 ${PROG}: ${OBJS}
-	${LD} -o ${.TARGET}.sym ${LINKFLAGS} ${OBJS} ${DESTDIR}/usr/lib/libgcc.a
+	${LD} -o ${.TARGET}.sym ${LINKFLAGS} ${OBJS}
 	${OBJCOPY} -O binary ${.TARGET}.sym ${.TARGET}
 .include <>

Reply via email to