Add patched tcc

Forces static link.
This commit is contained in:
fosslinux 2021-01-14 21:45:36 +11:00
parent 1e822361a9
commit d62ed4c55a
4 changed files with 62 additions and 3 deletions

View file

@ -36,9 +36,13 @@ ln -s . tmp/after/lib/x86-mes
ln -s . tmp/after/lib/linux/x86-mes
mkdir -p tmp/after/include/{mes,gnu,linux,sys,mach}
mkdir -p tmp/after/include/linux/{x86,x86_64}
mkdir -p tmp/tmp
cp after.kaem tmp/
cp after.kaem.run tmp/after/kaem.run
# Copy in all of the patches
cp -r patches tmp/after/
# mescc-tools-extra
cp -r mescc-tools-extra tmp/after/
@ -74,8 +78,11 @@ popd
mkdir -p ../sources
# sed 4.0.7
cp sed-4.0.7.kaem tmp/after
cp -r sed-4.0.7 tmp/after
cp sed-4.0.7.kaem tmp/after/
cp -r sed-4.0.7 tmp/after/
# tcc patched
cp tcc-patched.kaem tmp/after/
# tar 1.12
url=https://ftp.gnu.org/gnu/tar/tar-1.12.tar.gz
@ -111,6 +118,9 @@ get_file https://ftp.gnu.org/gnu/diffutils/diffutils-2.7.tar.gz
# patch 2.5.9
get_file https://ftp.gnu.org/pub/gnu/patch/patch-2.5.9.tar.gz
# patched tcc
cp tcc-patched.kaem tmp/after/
# General cleanup
find tmp -name .git -exec rm -rf \;