# IT4Innovations 2019

name = 'binutils'
version = '2.32'

homepage = 'http://directory.fsf.org/project/local_binutils/'
description = "binutils: GNU binary utilities"

toolchain = {'name': 'GCCcore', 'version': '8.3.0'}

source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]
checksums = ['9b0d97b3d30df184d302bced12f976aa1e5fbf4b0be696cdebc6cca30411a46e']

builddependencies = [
    ('flex', '2.6.4'),
    ('Bison', '3.3.2'),
    # use same local_binutils version that was used when building GCC toolchain, to 'bootstrap' this local_binutils
    ('binutils', version, '', True)
]

dependencies = [
    # zlib is a runtime dep to avoid that it gets embedded in libbfd.so,
    # see https://github.com/easybuilders/easybuild-easyblocks/issues/1350
    ('zlib', '1.2.11'),
]

moduleclass = 'tools'
