Fix building shared libraries for gmp (#4464)
If specific compiler flags are set, gmp will not build a shared library, causing failures further down the line.
This commit is contained in:
parent
d450e4a93b
commit
181fd95057
@ -38,8 +38,15 @@ class Gmp(AutotoolsPackage):
|
||||
version('6.0.0a', 'b7ff2d88cae7f8085bd5006096eed470')
|
||||
version('6.0.0', '6ef5869ae735db9995619135bd856b84')
|
||||
|
||||
depends_on('autoconf', type='build')
|
||||
depends_on('automake', type='build')
|
||||
depends_on('libtool', type='build')
|
||||
depends_on('m4', type='build')
|
||||
|
||||
# gmp's configure script seems to be broken; it sometimes misdetects
|
||||
# shared library support. Regenerating it fixes the issue.
|
||||
force_autoreconf = True
|
||||
|
||||
def configure_args(self):
|
||||
args = ['--enable-cxx']
|
||||
# This flag is necessary for the Intel build to pass `make check`
|
||||
|
Loading…
Reference in New Issue
Block a user