diff options
author | phk <phk@FreeBSD.org> | 2002-05-18 09:21:42 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-05-18 09:21:42 +0000 |
commit | dc6816f144c8c7d67402e0aa5e347bd065a85f01 (patch) | |
tree | a9dbb6eb7185827316ce1178dcbdf884cdc9cf07 /gnu/lib | |
parent | 7528001bd00aabf85cdf82b67961536208ea5c9f (diff) | |
download | FreeBSD-src-dc6816f144c8c7d67402e0aa5e347bd065a85f01.zip FreeBSD-src-dc6816f144c8c7d67402e0aa5e347bd065a85f01.tar.gz |
Improve chances that we correctly compile LIB1ASMSRC on all architectures.
sparc64 looked for the nonexistent sparc64/lb1spc.asm file instead
of the sparc/lb1spc.asm file.
arm probably looked for arm/arm/lib1funcs.asm instead of arm/lib1funcs.asm
ia64 probably looked for ia64/ia64/lib1funcs.asm instead of ia64/lib1funcs.asm
i386 and alpha don't seen to use the LIB1ASMSRC.
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libgcc/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index d0ac364..e7ceac8 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -130,7 +130,7 @@ OBJS+= dp-bit.o fp-bit.o # from config/sparc/t-elf # We want fine grained libraries, so use the new code to build the # floating point emulation libraries. -LIB1ASMSRC = lb1spc.asm +LIB1ASMSRC = sparc/lb1spc.asm LIB1ASMFUNCS = _mulsi3 _divsi3 _modsi3 OBJS+= dp-bit.o fp-bit.o .endif @@ -227,7 +227,7 @@ ${ASM_S}: ${LIB1ASMSRC} .if !defined(NOPROFILE) ${ASM_P}: ${LIB1ASMSRC} - ${XCC} -x assembler-with-cpp -c -p ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${GCCDIR}/config/${TARGET_ARCH}/${LIB1ASMSRC} + ${XCC} -x assembler-with-cpp -c -p ${CFLAGS} -DL${.PREFIX} -o ${.TARGET} ${GCCDIR}/config/${LIB1ASMSRC} @${LD} -o ${.TARGET}.tmp -X -r ${.TARGET} @mv ${.TARGET}.tmp ${.TARGET} .endif |