summaryrefslogtreecommitdiff
path: root/libgmp
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2008-12-18 15:22:51 +0100
committerJuergen Daubert <jue@jue.li>2008-12-18 15:22:51 +0100
commitfa694de7cde9bd63da9a8e3032fc546a0e5eb8ca (patch)
treec470dc4dfd728536a98e4fea6cb1e5847f9dc5ed /libgmp
parent0061c87cda6fbef013e58c5c8c3e8409e65e369b (diff)
downloadcore-fa694de7cde9bd63da9a8e3032fc546a0e5eb8ca.tar.gz
core-fa694de7cde9bd63da9a8e3032fc546a0e5eb8ca.tar.xz
libgmp: explicit specify build-host i686, fix for #386release-2.5
http://crux.nu/bugs/index.php?do=details&task_id=386 libgmp tries to optimize much on the host it is build on, even on extensions like mmx or sse. That's not appropriate for binary distribution of the library.
Diffstat (limited to 'libgmp')
-rw-r--r--libgmp/Pkgfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/libgmp/Pkgfile b/libgmp/Pkgfile
index e31dfb9a..22ff001f 100644
--- a/libgmp/Pkgfile
+++ b/libgmp/Pkgfile
@@ -4,12 +4,14 @@
name=libgmp
version=4.2.4
-release=1
+release=2
source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.bz2)
build() {
cd gmp-$version
- ABI=32 ./configure --prefix=/usr --enable-cxx
+ ABI=32 ./configure --prefix=/usr \
+ --enable-cxx \
+ --build=i686-pc-linux-gnu
make
make DESTDIR=$PKG install
rm -r $PKG/usr/info

Generated by cgit