Match up with the new binutils package file. It does what OSS needs w.r.t. libiberty.
This commit is contained in:
parent
24c609b6df
commit
d6a2ab08ac
1 changed files with 13 additions and 10 deletions
|
@ -13,19 +13,22 @@ class Binutils(Package):
|
|||
variant('krellpatch', default=False, description="build with openspeedshop based patch.")
|
||||
patch('binutilskrell-2.24.patch', when='@2.24+krellpatch')
|
||||
|
||||
variant('libiberty', default=False, description='Also install libiberty.')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
|
||||
# Add additional configuration options for use in the OpenSpeedShop project
|
||||
if '+krellpatch' in spec:
|
||||
configure('--prefix', self.prefix,
|
||||
'--libdir', self.prefix.lib,
|
||||
configure_args = [
|
||||
'--prefix=%s' % prefix,
|
||||
'--disable-dependency-tracking',
|
||||
'--enable-interwork',
|
||||
'--enable-multilib',
|
||||
'--enable-shared',
|
||||
'--enable-install-libiberty',
|
||||
'--disable-multilib'
|
||||
)
|
||||
else:
|
||||
configure("--prefix=%s" % prefix)
|
||||
'--enable-64-bit-bfd',
|
||||
'--enable-targets=all']
|
||||
|
||||
if '+libiberty' in spec:
|
||||
configure_args.append('--enable-install-libiberty')
|
||||
|
||||
configure(*configure_args)
|
||||
make()
|
||||
make("install")
|
||||
|
|
Loading…
Reference in a new issue