diff options
author | steve <steve@FreeBSD.org> | 2000-04-15 20:41:06 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-04-15 20:41:06 +0000 |
commit | 12cd48ae48396a66dd832a6583ea560d13af299b (patch) | |
tree | 90b52611439dfed9d12c7d1e3588ab0b443efd0f /gnu/lib/libmp | |
parent | 2e047201635a0cf480d4aa559edc8de84baea30f (diff) | |
download | FreeBSD-src-12cd48ae48396a66dd832a6583ea560d13af299b.zip FreeBSD-src-12cd48ae48396a66dd832a6583ea560d13af299b.tar.gz |
Use the non-asm routines (for now) on the sparc and sparc64 ports.
Diffstat (limited to 'gnu/lib/libmp')
-rw-r--r-- | gnu/lib/libmp/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/lib/libmp/Makefile b/gnu/lib/libmp/Makefile index 8a37ed8..127384a 100644 --- a/gnu/lib/libmp/Makefile +++ b/gnu/lib/libmp/Makefile @@ -37,6 +37,13 @@ CFLAGS+= -I${GMPDIR}/mpn/m68k -I${GMPDIR}/mpz -DBERKELEY_MP MPN_SRC_ASM= add_n.S lshift.S rshift.S sub_n.S +.elif ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64" +.PATH: ${GMPDIR} ${GMPDIR}/mpn ${GMPDIR}/mpn/generic \ + ${GMPDIR}/mpbsd + +CFLAGS+= -I${GMPDIR}/mpz -DBERKELEY_MP + +MPN_SRC_ASM= .endif CFLAGS+= -I${GMPDIR} -I${GMPDIR}/mpn/generic |