gmp
- build-script reviewed - build library with -fPIC - variant 6.1.2-1 added
This commit is contained in:
@@ -2,3 +2,4 @@ gmp/6.0.0 stable
|
||||
gmp/6.1.0 stable
|
||||
gmp/6.1.1 stable
|
||||
gmp/6.1.2 stable
|
||||
gmp/6.1.2-1 stable
|
||||
|
||||
@@ -1,18 +1,14 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
SOURCE_URL="https://gmplib.org/download/$P/$P-$V.tar.bz2"
|
||||
|
||||
pbuild::configure() {
|
||||
"${SRC_DIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--disable-shared \
|
||||
|| exit 1
|
||||
}
|
||||
pbuild::set_download_url "https://gmplib.org/download/$P/$P-$V_PKG.tar.bz2"
|
||||
pbuild::add_to_group 'Libraries'
|
||||
|
||||
# use system gcc to compile
|
||||
declare -rx CC=gcc
|
||||
declare -rx CPP=/usr/bin/cpp
|
||||
|
||||
pbuild::add_to_group 'Libraries'
|
||||
pbuild::add_configure_args "--disable-shared"
|
||||
pbuild::add_configure_args "--with-pic"
|
||||
|
||||
pbuild::make_all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user