diff options
author | healther <healther@users.noreply.github.com> | 2017-02-18 23:02:01 +0100 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-02-18 16:02:01 -0600 |
commit | 5712b524cc1c0c137248023e56204edfb91847d5 (patch) | |
tree | 734b589ea514e0d4493c70b2d2193199fada2eca /var | |
parent | 4da66d71b0c8522905d5647c68a5caca60eec008 (diff) | |
download | spack-5712b524cc1c0c137248023e56204edfb91847d5.tar.gz spack-5712b524cc1c0c137248023e56204edfb91847d5.tar.bz2 spack-5712b524cc1c0c137248023e56204edfb91847d5.tar.xz spack-5712b524cc1c0c137248023e56204edfb91847d5.zip |
Add binutils variant +plugins (#3083)
* Add binutils variant +plugins
* added description to plugins variant
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/binutils/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/binutils/package.py b/var/spack/repos/builtin/packages/binutils/package.py index bf49ca9405..1fea4f5b60 100644 --- a/var/spack/repos/builtin/packages/binutils/package.py +++ b/var/spack/repos/builtin/packages/binutils/package.py @@ -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 @@ class Binutils(Package): 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') |