Change the order of the include paths so that the architecture specific
directory is searched before the generic one. You can guess what was happening.. all the world's assumed to be 32-bit.
This commit is contained in:
parent
c9a8d1f4dd
commit
d73d5c86a3
@ -1,5 +1,5 @@
|
||||
#
|
||||
# $Id: Makefile,v 1.15 1998/01/25 09:44:18 jb Exp $
|
||||
# $Id: Makefile,v 1.16 1998/03/12 13:03:05 bde Exp $
|
||||
#
|
||||
|
||||
LIB= gmp
|
||||
@ -9,8 +9,6 @@ SUBDIR= doc
|
||||
GMPDIR= ${.CURDIR}/../../../contrib/libgmp
|
||||
.PATH: ${GMPDIR} ${GMPDIR}/mpn
|
||||
|
||||
CFLAGS+= -I${GMPDIR} -I${GMPDIR}/mpn/generic
|
||||
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
.PATH: ${GMPDIR}/mpn/alpha ${GMPDIR}/mpn/generic
|
||||
|
||||
@ -34,6 +32,8 @@ MPN_SRC_ASM= add_n.S lshift.S rshift.S sub_n.S
|
||||
|
||||
.endif
|
||||
|
||||
CFLAGS+= -I${GMPDIR} -I${GMPDIR}/mpn/generic
|
||||
|
||||
MPN_SRC_C= add_n.c addmul_1.c bdivmod.c cmp.c divmod_1.c divrem.c \
|
||||
divrem_1.c dump.c gcd.c gcd_1.c gcdext.c get_str.c hamdist.c \
|
||||
inlines.c lshift.c mod_1.c mul.c mul_1.c mul_n.c perfsqr.c \
|
||||
|
@ -1,13 +1,11 @@
|
||||
#
|
||||
# $Id: Makefile,v 1.13 1998/01/25 09:45:00 jb Exp $
|
||||
# $Id: Makefile,v 1.14 1998/03/12 13:03:06 bde Exp $
|
||||
#
|
||||
|
||||
LIB= mp
|
||||
|
||||
GMPDIR= ${.CURDIR}/../../../contrib/libgmp
|
||||
|
||||
CFLAGS+= -I${GMPDIR} -I${GMPDIR}/mpn/generic
|
||||
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
.PATH: ${GMPDIR} ${GMPDIR}/mpn ${GMPDIR}/mpn/alpha ${GMPDIR}/mpn/generic \
|
||||
${GMPDIR}/mpbsd
|
||||
@ -34,6 +32,8 @@ MPN_SRC_ASM= add_n.S lshift.S rshift.S sub_n.S
|
||||
|
||||
.endif
|
||||
|
||||
CFLAGS+= -I${GMPDIR} -I${GMPDIR}/mpn/generic
|
||||
|
||||
MPN_SRC_C= add_n.c addmul_1.c bdivmod.c cmp.c divmod_1.c divrem.c \
|
||||
divrem_1.c dump.c gcd.c gcd_1.c gcdext.c get_str.c hamdist.c \
|
||||
inlines.c lshift.c mod_1.c mul.c mul_1.c mul_n.c perfsqr.c \
|
||||
|
Loading…
Reference in New Issue
Block a user