libgmp-32: clean up build for i686
This commit is contained in:
parent
0a059aef63
commit
05003d187f
@ -4,22 +4,23 @@
|
|||||||
|
|
||||||
name=libgmp-32
|
name=libgmp-32
|
||||||
version=6.1.0
|
version=6.1.0
|
||||||
release=1
|
release=2
|
||||||
source=(https://gmplib.org/download/gmp/gmp-$version.tar.xz)
|
source=(http://gmplib.org/download/gmp/gmp-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd gmp-${version%a}
|
cd gmp-$version
|
||||||
|
|
||||||
ABI=32 ./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libdir=/usr/lib32 \
|
--libdir=/usr/lib32 \
|
||||||
--enable-cxx
|
--enable-cxx \
|
||||||
|
--build=i686-pc-linux-gnu
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
|
||||||
mv $PKG/usr/include/gmp{,-32}.h
|
mv $PKG/usr/include/gmp{,-32}.h
|
||||||
rm $PKG/usr/include/gmpxx.h
|
rm $PKG/usr/include/gmpxx.h
|
||||||
|
|
||||||
rm -r $PKG/usr/share
|
rm -r $PKG/usr/share
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user