elfutils: add support for version 0.181 (#19634)
This also includes handling of the new libdebuginfod flags.
This commit is contained in:
parent
2cf1606896
commit
6b35324cf3
@ -21,6 +21,7 @@ class Elfutils(AutotoolsPackage, SourcewarePackage):
|
||||
list_url = "https://sourceware.org/elfutils/ftp"
|
||||
list_depth = 1
|
||||
|
||||
version('0.181', sha256='29a6ad7421ec2acfee489bb4a699908281ead2cb63a20a027ce8804a165f0eb3')
|
||||
version('0.180', sha256='b827b6e35c59d188ba97d7cf148fa8dc6f5c68eb6c5981888dfdbb758c0b569d')
|
||||
version('0.179', sha256='25a545566cbacaa37ae6222e58f1c48ea4570f53ba991886e2f5ce96e22a23a2')
|
||||
version('0.178', sha256='31e7a00e96d4e9c4bda452e1f2cdac4daf8abd24f5e154dee232131899f3a0f2')
|
||||
@ -44,6 +45,7 @@ class Elfutils(AutotoolsPackage, SourcewarePackage):
|
||||
description='Enable Native Language Support.')
|
||||
|
||||
# libdebuginfod support
|
||||
# NB: For 0.181 and newer, this enables _both_ the client and server
|
||||
variant('debuginfod', default=False,
|
||||
description='Enable libdebuginfod support.')
|
||||
|
||||
@ -106,8 +108,12 @@ def configure_args(self):
|
||||
|
||||
if '+debuginfod' in spec:
|
||||
args.append('--enable-debuginfod')
|
||||
elif spec.satisfies('@0.178:'):
|
||||
if spec.satisfies('@0.181:'):
|
||||
args.append('--enable-libdebuginfod')
|
||||
else:
|
||||
args.append('--disable-debuginfod')
|
||||
if spec.satisfies('@0.181:'):
|
||||
args.append('--disable-libdebuginfod')
|
||||
|
||||
return args
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user