Source-Changes-HG archive

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

[src/trunk]: src/lib/csu/common_elf Make gcrt0.o depend on crt0.o so that it ...



details:   https://anonhg.NetBSD.org/src/rev/10b96bd6c84b
branches:  trunk
changeset: 555194:10b96bd6c84b
user:      dsl <dsl%NetBSD.org@localhost>
date:      Tue Nov 11 11:32:39 2003 +0000

description:
Make gcrt0.o depend on crt0.o so that it picks up the dependencies from .depend.

diffstat:

 lib/csu/common_elf/Makefile.inc |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 4b6b31a8d8d1 -r 10b96bd6c84b lib/csu/common_elf/Makefile.inc
--- a/lib/csu/common_elf/Makefile.inc   Tue Nov 11 10:55:32 2003 +0000
+++ b/lib/csu/common_elf/Makefile.inc   Tue Nov 11 11:32:39 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.23 2003/03/19 16:54:25 ross Exp $
+#      $NetBSD: Makefile.inc,v 1.24 2003/11/11 11:32:39 dsl Exp $
 
 .include <bsd.own.mk>
 
@@ -43,7 +43,8 @@
        @${LD} -x -r -o ${.TARGET} ${.TARGET}.o
        @rm -f ${.TARGET}.o
 
-gcrt0.o: ${.CURDIR}/crt0.c
+# dependant on crt0.o to pick up header dependencies
+gcrt0.o: ${.CURDIR}/crt0.c crt0.o
        @echo "${COMPILE.c} -DMCRT0 ${.CURDIR}/crt0.c -o ${.TARGET}"
        @${COMPILE.c} -DMCRT0 ${.CURDIR}/crt0.c -o ${.TARGET}.o
        @${LD} -x -r -o ${.TARGET} ${.TARGET}.o



Home | Main Index | Thread Index | Old Index