summaryrefslogtreecommitdiffstats
path: root/gnu/lib
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-17 03:04:47 +0000
committerobrien <obrien@FreeBSD.org>2002-05-17 03:04:47 +0000
commitff2300d7aa61467c36f8f75f49079390befee0a4 (patch)
treef35ee358517fe4dabc36877743043120b9abd4dc /gnu/lib
parent0e6872a9ecdc93bebf7a6049805d50892d2ef392 (diff)
downloadFreeBSD-src-ff2300d7aa61467c36f8f75f49079390befee0a4.zip
FreeBSD-src-ff2300d7aa61467c36f8f75f49079390befee0a4.tar.gz
GCC 3.1 on PowerPC also has the crtsavres C Run Time file.
Diffstat (limited to 'gnu/lib')
-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 d39fab9..0b1cdd9 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
OpenPOWER on IntegriCloud