From 78a6c69781c3123020959aa7c51d2a0a4033a817 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Mon, 26 Apr 2021 12:59:31 +0200 Subject: [PATCH] mpfr: compile version 4.0.2 with PIC --- Libraries/mpfr/build | 3 ++- Libraries/mpfr/files/variants | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Libraries/mpfr/build b/Libraries/mpfr/build index 2b3f0d2..425992c 100755 --- a/Libraries/mpfr/build +++ b/Libraries/mpfr/build @@ -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" } diff --git a/Libraries/mpfr/files/variants b/Libraries/mpfr/files/variants index a728d5f..c9c2a8a 100644 --- a/Libraries/mpfr/files/variants +++ b/Libraries/mpfr/files/variants @@ -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