add the gold linker to binutils
This commit is contained in:
		| @@ -11,6 +11,7 @@ class Binutils(Package): | |||||||
|  |  | ||||||
|     # Add a patch that creates binutils libiberty_pic.a which is preferred by OpenSpeedShop and cbtf-krell |     # Add a patch that creates binutils libiberty_pic.a which is preferred by OpenSpeedShop and cbtf-krell | ||||||
|     variant('krellpatch', default=False, description="build with openspeedshop based patch.") |     variant('krellpatch', default=False, description="build with openspeedshop based patch.") | ||||||
|  |     variant('gold', default=True, description="build the gold linker") | ||||||
|     patch('binutilskrell-2.24.patch', when='@2.24+krellpatch') |     patch('binutilskrell-2.24.patch', when='@2.24+krellpatch') | ||||||
|  |  | ||||||
|     variant('libiberty', default=False, description='Also install libiberty.') |     variant('libiberty', default=False, description='Also install libiberty.') | ||||||
| @@ -26,6 +27,9 @@ def install(self, spec, prefix): | |||||||
|             '--enable-targets=all', |             '--enable-targets=all', | ||||||
|             '--with-sysroot=/'] |             '--with-sysroot=/'] | ||||||
|  |  | ||||||
|  |         if '+gold' in spec: | ||||||
|  |             configure_args.append('--enable-gold') | ||||||
|  |  | ||||||
|         if '+libiberty' in spec: |         if '+libiberty' in spec: | ||||||
|             configure_args.append('--enable-install-libiberty') |             configure_args.append('--enable-install-libiberty') | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Tom Scogland
					Tom Scogland