Merge branch '142-mpfr-compile-with-pic' into 'master'

Resolve "mpfr: compile with PIC"

Closes #142

See merge request Pmodules/buildblocks!204
This commit is contained in:
2021-04-26 13:02:20 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -3,9 +3,10 @@
pbuild::set_download_url "http://www.mpfr.org/$P-${V_PKG}/$P-${V_PKG}.tar.xz"
pbuild::add_to_group 'Libraries'
module use 'Libraries'
#module use 'Libraries'
pbuild::pre_configure() {
pbuild::add_configure_args "--with-gmp=${GMP_PREFIX}"
pbuild::add_configure_args "--with-pic"
pbuild::add_configure_args "--disable-shared"
}

View File

@@ -8,3 +8,4 @@ mpfr/4.0.1 stable b:gmp/6.1.2
mpfr/4.0.1-1 stable b:gmp/6.1.2-1
mpfr/4.0.2 stable b:gmp/6.1.2-1
mpfr/4.0.2-1 stable b:gmp/6.2.0
mpfr/4.0.2-2 stable b:gmp/6.2.0