diff options
author | ru <ru@FreeBSD.org> | 2003-02-27 09:19:31 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-02-27 09:19:31 +0000 |
commit | b286653bd0ce6589caf93382598d3219b8ae84fc (patch) | |
tree | c7ba402318fe9b5480e684c6f2b8a1b21eb41e9a /gnu/lib | |
parent | 608b22b2688ff3385362c397afa2e91cb25e4712 (diff) | |
download | FreeBSD-src-b286653bd0ce6589caf93382598d3219b8ae84fc.zip FreeBSD-src-b286653bd0ce6589caf93382598d3219b8ae84fc.tar.gz |
Only cross-tools may use TARGET_ARCH/TARGET, everyone else
should use the normal MACHINE_ARCH/MACHINE instead.
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/csu/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile index 780e7fd..b9c9ea8 100644 --- a/gnu/lib/csu/Makefile +++ b/gnu/lib/csu/Makefile @@ -17,17 +17,17 @@ CFLAGS+= -I${GCCDIR}/config -I${GCCDIR} -I. \ CRTS_CFLAGS= -DCRTSTUFFS_O -DSHARED ${PICFLAG} MKDEPCMD= CC="${CC}" MKDEP_CPP_OPTS="-M -DCRT_BEGIN" mkdep -.if ${TARGET_ARCH} == "ia64" +.if ${MACHINE_ARCH} == "ia64" BEGINSRC= crtbegin.asm ENDSRC= crtend.asm CFLAGS+= -x assembler-with-cpp # Ugly hack .undef SRCS # hack for 'make depend' .endif -.if ${TARGET_ARCH} == "powerpc" +.if ${MACHINE_ARCH} == "powerpc" TGTOBJS= crtsavres.o SRCS+= crtsavres.asm .endif -.if ${TARGET_ARCH} == "alpha" || ${TARGET_ARCH} == "sparc64" +.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64" TGTOBJS= crtfastmath.o SRCS+= crtfastmath.c .endif |