mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-02 07:30:55 -08:00
Under OSX, force 32-bit build of GMP
This commit is contained in:
parent
ea9feacb15
commit
479fb4dd22
2 changed files with 7 additions and 1 deletions
3
src/aclocal.m4
vendored
3
src/aclocal.m4
vendored
|
|
@ -276,6 +276,9 @@ case "${host_os}" in
|
|||
if test "`uname -m`" = i386; then
|
||||
gmp_build=none-apple-${host_os}
|
||||
fi
|
||||
# ECL, due to some of the libraries, does not build on
|
||||
# 64 bit mode on OSX. We prevent GMP using that mode.
|
||||
export ABI=mode32
|
||||
;;
|
||||
*)
|
||||
Thehost="$host_os"
|
||||
|
|
|
|||
5
src/configure
vendored
5
src/configure
vendored
|
|
@ -4334,6 +4334,9 @@ case "${host_os}" in
|
|||
if test "`uname -m`" = i386; then
|
||||
gmp_build=none-apple-${host_os}
|
||||
fi
|
||||
# ECL, due to some of the libraries, does not build on
|
||||
# 64 bit mode on OSX. We prevent GMP using that mode.
|
||||
export ABI=mode32
|
||||
;;
|
||||
*)
|
||||
Thehost="$host_os"
|
||||
|
|
@ -12227,7 +12230,7 @@ echo "$as_me: Configuring included GMP library:" >&6;}
|
|||
fi
|
||||
if mkdir gmp; then
|
||||
ECL_GMP_HEADER='ecl/gmp.h'
|
||||
(destdir=`${PWDCMD}`; cd gmp; CC="${CC} ${PICFLAG} -DPIC" \
|
||||
(destdir=`${PWDCMD}`; cd gmp; CC="${CC} ${PICFLAG} -DPIC" \
|
||||
$srcdir/gmp/configure --disable-shared --prefix=${destdir} \
|
||||
--infodir=${destdir}/doc --includedir=${destdir}/ecl \
|
||||
--libdir=${destdir} --build=${gmp_build} --host=${host_alias} $with_gmp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue