binutils: Add 2.40 package for focal

This commit is contained in:
lat9nq 2023-03-23 15:49:58 -04:00
parent 24748656a5
commit 07f3774409
3 changed files with 39 additions and 0 deletions

16
binutils/docker.sh Normal file
View file

@ -0,0 +1,16 @@
#!/bin/bash
set -e
THIS=$(readlink -e $0)
VERSION=$1
UBUNTU=$2
OUT=/src/binutils-$VERSION-$UBUNTU
mkdir build
cd build
/src/binutils-$VERSION/configure
make -j$(nproc)
make -j$(nproc) install DESTDIR=$OUT
cp $THIS $OUT