Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/share/mk/bsd.prog.mk,v rcsdiff: /ftp/cvs/cvsroot/src/share/mk/bsd.prog.mk,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.164 retrieving revision 1.166 diff -u -p -r1.164 -r1.166 --- src/share/mk/bsd.prog.mk 2003/02/22 04:46:08 1.164 +++ src/share/mk/bsd.prog.mk 2003/05/18 07:36:23 1.166 @@ -1,6 +1,8 @@ -# $NetBSD: bsd.prog.mk,v 1.164 2003/02/22 04:46:08 uwe Exp $ +# $NetBSD: bsd.prog.mk,v 1.166 2003/05/18 07:36:23 lukem Exp $ # @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94 +.ifndef HOSTPROG + .include .include @@ -24,7 +26,12 @@ LIBCRTBEGIN= ${DESTDIR}/usr/lib/crti.o $ .MADE: ${LIBCRTBEGIN} .endif .ifndef LIBCRTEND +.if ${MACHINE_ARCH} == "powerpc" && defined(HAVE_GCC3) +LIBCRTEND= ${DESTDIR}/usr/lib/crtsavres.o \ + ${DESTDIR}/usr/lib/crtend.o ${DESTDIR}/usr/lib/crtn.o +.else LIBCRTEND= ${DESTDIR}/usr/lib/crtend.o ${DESTDIR}/usr/lib/crtn.o +.endif .MADE: ${LIBCRTEND} .endif _SHLINKER= ${SHLINKDIR}/ld.elf_so @@ -261,3 +268,5 @@ lint: ${LOBJS} .include ${TARGETS}: # ensure existence + +.endif # HOSTPROG