3.17. binutils-2.38
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 -e '/R_386_TLS_LE /i \ || (TYPE) == R_386_TLS_IE \\' \
-i ./bfd/elfxx-x86.h
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}
}
Unit testing
src_check()
{
cd ${S}/build
make -k check || nonfail
}
Patches
Build code
Other files
Links