summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libmp
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1996-12-07 13:03:29 +0000
committermarkm <markm@FreeBSD.org>1996-12-07 13:03:29 +0000
commitbf0e732e82c4af270f85bc658eeb03af29a9a810 (patch)
treeb98b5f04026acd432eb784e7db9ca9486ed83746 /gnu/lib/libmp
parentd7c2871859cacf95c16f3240b070b298881dffe5 (diff)
downloadFreeBSD-src-bf0e732e82c4af270f85bc658eeb03af29a9a810.zip
FreeBSD-src-bf0e732e82c4af270f85bc658eeb03af29a9a810.tar.gz
Fix libmp to be more Berkely compatible.
This is a very safe 2.2 candidate. Submitted by: Nick Sayer <nsayer@quack.kfu.com>
Diffstat (limited to 'gnu/lib/libmp')
-rw-r--r--gnu/lib/libmp/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/lib/libmp/Makefile b/gnu/lib/libmp/Makefile
index 1a7abb0..f7ffbcd 100644
--- a/gnu/lib/libmp/Makefile
+++ b/gnu/lib/libmp/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.6 1996/10/20 09:29:39 markm Exp $
+# $Id: Makefile,v 1.7 1996/10/24 18:03:53 markm Exp $
#
LIB= mp
@@ -9,7 +9,7 @@ GMPDIR= ${.CURDIR}/../../../contrib/libgmp
${GMPDIR}/mpbsd
CFLAGS+= -I${GMPDIR} -I${GMPDIR}/mpn/generic -I${GMPDIR}/mpn/x86 \
- -I${GMPDIR}/mpz -DBROKEN_ALIGN
+ -I${GMPDIR}/mpz -DBROKEN_ALIGN -DBERKELEY_MP
MPN_SRC_C= inlines.c cmp.c divmod_1.c divrem.c divrem_1.c dump.c \
mod_1.c mul.c mul_n.c random2.c sqrtrem.c get_str.c set_str.c \
@@ -21,7 +21,7 @@ MPN_SRC_ASM= add_n.S addmul_1.S lshift.S mul_1.S rshift.S sub_n.S submul_1.S
MPN_SRCS= ${MPN_SRC_C} ${MPN_SRC_ASM}
MPBSD_LINKS= mpz/add.c mpz/cmp.c mpz/gcd.c mpz/mul.c mpz/pow_ui.c \
- mpz/powm.c mpz/sqrtrem.c mpz/sub.c
+ mpz/powm.c mpz/sqrtrem.c mpz/sub.c mpz/realloc.c
MPBSD_SRCS= itom.c mdiv.c mfree.c min.c mout.c move.c mtox.c sdiv.c xtom.c \
realloc.c $(MPBSD_LINKS)
OpenPOWER on IntegriCloud