def configure_args(self):
    spec = self.spec
    configure_args = ['--disable-dependency-tracking', '--disable-werror', '--enable-multilib', '--enable-shared', '--enable-64-bit-bfd', '--enable-targets=all', '--with-system-zlib', '--with-sysroot=/']
    if ('+lto' in spec):
        configure_args.append('--enable-lto')
    if ('+ld' in spec):
        configure_args.append('--enable-ld')
    if ('+interwork' in spec):
        configure_args.append('--enable-interwork')
    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')
    if ('+nls' in spec):
        configure_args.append('--enable-nls')
        configure_args.append('LDFLAGS=-lintl')
    else:
        configure_args.append('--disable-nls')
    if spec.satisfies('platform=darwin'):
        configure_args.append('--program-prefix=g')
    return configure_args
def configure_args(self):
    spec = self.spec
    configure_args = ['--disable-dependency-tracking', '--disable-werror', '--enable-multilib', '--enable-shared', '--enable-64-bit-bfd', '--enable-targets=all', '--with-system-zlib', '--with-sysroot=/']
    if ('+lto' in spec):
        configure_args.append('--enable-lto')
    if ('+ld' in spec):
        configure_args.append('--enable-ld')
    if ('+interwork' in spec):
        configure_args.append('--enable-interwork')
    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')
    if ('+nls' in spec):
        configure_args.append('--enable-nls')
        configure_args.append('LDFLAGS=-lintl')
    else:
        configure_args.append('--disable-nls')
    if spec.satisfies('platform=darwin'):
        configure_args.append('--program-prefix=g')
    return configure_args