Adding a libunwind variant to libzmq (#30932)
* Adding a libunwind variant to libzmq * Remove whitespace line 46
This commit is contained in:
parent
954f961208
commit
1194ac6985
@ -43,6 +43,9 @@ class Libzmq(AutotoolsPackage):
|
|||||||
description="Use strlcpy from libbsd " +
|
description="Use strlcpy from libbsd " +
|
||||||
"(will use own implementation if false)")
|
"(will use own implementation if false)")
|
||||||
|
|
||||||
|
variant("libunwind", default=False,
|
||||||
|
description="Build with libunwind support")
|
||||||
|
|
||||||
depends_on("libsodium", when='+libsodium')
|
depends_on("libsodium", when='+libsodium')
|
||||||
depends_on("libsodium@:1.0.3", when='+libsodium@:4.1.2')
|
depends_on("libsodium@:1.0.3", when='+libsodium@:4.1.2')
|
||||||
|
|
||||||
@ -55,6 +58,8 @@ class Libzmq(AutotoolsPackage):
|
|||||||
|
|
||||||
depends_on('libbsd', when='+libbsd')
|
depends_on('libbsd', when='+libbsd')
|
||||||
|
|
||||||
|
depends_on('libunwind', when='+libunwind')
|
||||||
|
|
||||||
conflicts('%gcc@8:', when='@:4.2.2')
|
conflicts('%gcc@8:', when='@:4.2.2')
|
||||||
|
|
||||||
# Fix aggressive compiler warning false positive
|
# Fix aggressive compiler warning false positive
|
||||||
@ -77,6 +82,7 @@ def configure_args(self):
|
|||||||
|
|
||||||
config_args.extend(self.enable_or_disable("drafts"))
|
config_args.extend(self.enable_or_disable("drafts"))
|
||||||
config_args.extend(self.enable_or_disable("libbsd"))
|
config_args.extend(self.enable_or_disable("libbsd"))
|
||||||
|
config_args.extend(self.enable_or_disable("libunwind"))
|
||||||
|
|
||||||
if '+libsodium' in self.spec:
|
if '+libsodium' in self.spec:
|
||||||
config_args.append('--with-libsodium')
|
config_args.append('--with-libsodium')
|
||||||
|
Loading…
Reference in New Issue
Block a user