Add binutils variant +plugins (#3083)

* Add binutils variant +plugins

* added description to plugins variant
This commit is contained in:
healther 2017-02-18 23:02:01 +01:00 committed by Adam J. Stewart
parent 4da66d71b0
commit 5712b524cc

View File

@ -46,6 +46,8 @@ class Binutils(Package):
# OpenSpeedShop and cbtf-krell
variant('krellpatch', default=False,
description="build with openspeedshop based patch.")
variant('plugins', default=False,
description="enable plugins, needed for gold linker")
variant('gold', default=True, description="build the gold linker")
patch('binutilskrell-2.24.patch', when='@2.24+krellpatch')
@ -69,6 +71,9 @@ def install(self, spec, prefix):
if '+gold' in spec:
configure_args.append('--enable-gold')
if '+plugins' in spec:
configure_args.append('--enable-plugins')
if '+libiberty' in spec:
configure_args.append('--enable-install-libiberty')