3.17. binutils-2.37

The correct work of PTYs is provided by any/bin/enter script, launched before using the container.

#!/bin/sh
# Copyright © 1999-2022 Gerard Beekmans
# Copyright © 2017-2022 Random Crew
# Distributed under the terms of MIT License.

Configuration

src_config()
{
    sed -i '63d' etc/texi2pod.pl
    find -name \*.1 -delete

    mkdir build
    cd build

    ../configure \
        --prefix=${PREFIX}  \
        --enable-gold       \
        --enable-ld=default \
        --enable-plugins    \
        --enable-shared     \
        --disable-werror    \
        --enable-64-bit-bfd \
        --with-system-zlib
}

Compilation

src_compile()
{
    make ${MAKEOPTS} tooldir=${PREFIX}
}

Installation

src_install()
{
    make install ${MAKEOPTS} tooldir=${PREFIX} DESTDIR=${D} -j1
}

Unit testing

src_check()
{
    cd ${S}/build
    make -k check || nonfail
}

Patches

binutils-2.37-upstream_fix-1.patch

Build code

binutils.build

Other files

meta.txt
text

Links

url.lfs: https://linuxfromscratch.org/lfs/view/11.0/chapter08/binutils.html