diff options
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/pari/pari-2.15.0.ebuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sci-mathematics/pari/pari-2.15.0.ebuild b/sci-mathematics/pari/pari-2.15.0.ebuild index 38356d9374b4..212fed3f24df 100644 --- a/sci-mathematics/pari/pari-2.15.0.ebuild +++ b/sci-mathematics/pari/pari-2.15.0.ebuild @@ -74,13 +74,13 @@ src_configure() { fi # sysdatadir installs a pari.cfg stuff which is informative only. - # It is supposed to be for "architecture-dependent" data. - # It needs to be easily discoverable for downstream packages such as gp2c. - # We set LD to "" so that it is set to the value of the compiler used - # which is how a normal end user is expected to configure it. pari's build - # system do not cope very well with a naked linker, it is expecting a - # compiler driver. See https://bugs.gentoo.org/722090 - LD="" ./Configure \ + # It is supposed to be for "architecture-dependent" data. It needs + # to be easily discoverable for downstream packages such as gp2c. + # We set LD="" and DLLD="$CC" so that the "shared library linker" + # always gets set to the value of the compiler used. Pari's build + # system does not cope very well with a naked linker, it is + # expecting a compiler driver. See bugs 722090 and 871117. + LD="" DLLD="$(tc-getCC)" ./Configure \ --prefix="${EPREFIX}"/usr \ --datadir="${EPREFIX}/usr/share/${PN}" \ --libdir="${EPREFIX}/usr/$(get_libdir)" \ |