summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libgmp
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-04-15 20:41:06 +0000
committersteve <steve@FreeBSD.org>2000-04-15 20:41:06 +0000
commit12cd48ae48396a66dd832a6583ea560d13af299b (patch)
tree90b52611439dfed9d12c7d1e3588ab0b443efd0f /gnu/lib/libgmp
parent2e047201635a0cf480d4aa559edc8de84baea30f (diff)
downloadFreeBSD-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/libgmp')
-rw-r--r--gnu/lib/libgmp/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/lib/libgmp/Makefile b/gnu/lib/libgmp/Makefile
index 12b9b8c..e63e1e123 100644
--- a/gnu/lib/libgmp/Makefile
+++ b/gnu/lib/libgmp/Makefile
@@ -37,6 +37,10 @@ CFLAGS+= -I${GMPDIR}/mpn/m68k
MPN_SRC_ASM= add_n.S lshift.S rshift.S sub_n.S
+.elif ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"
+.PATH: ${GMPDIR}/mpn/generic
+
+MPN_SRC_ASM=
.endif
CFLAGS+= -I${GMPDIR} -I${GMPDIR}/mpn/generic
OpenPOWER on IntegriCloud