summaryrefslogtreecommitdiff
path: root/gnu/lib/csu
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-05-17 03:04:47 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-05-17 03:04:47 +0000
commitba2789556ee7f8f6d93b945bed51d29906624bc2 (patch)
treef35ee358517fe4dabc36877743043120b9abd4dc /gnu/lib/csu
parentcffafa9e12b7163abed23634a02a93cf31167412 (diff)
Notes
Diffstat (limited to 'gnu/lib/csu')
-rw-r--r--gnu/lib/csu/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile
index d39fab9dab8a..0b1cdd9c9c17 100644
--- a/gnu/lib/csu/Makefile
+++ b/gnu/lib/csu/Makefile
@@ -17,6 +17,11 @@ CFLAGS+= -I${GCCDIR}/config -I${GCCDIR} -I. \
CRTS_CFLAGS= -DCRTSTUFFS_O ${PICFLAG}
MKDEPCMD= CC="${CC}" MKDEP_CPP_OPTS="-M -DCRT_BEGIN" mkdep
+.if ${TARGET_ARCH} == "powerpc"
+.PATH: ${GCCDIR}/config/${GCC_CPU}
+TGTOBJS= crtsavres.o
+SRCS+= crtsavres.asm
+.endif
.if ${TARGET_ARCH} == "sparc64"
.PATH: ${GCCDIR}/config/${GCC_CPU}
TGTOBJS= crtfastmath.o