mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-25 04:26:31 +01:00
Build tcc 0.9.27 immediately after tcc 0.9.26.
This commit is contained in:
parent
278b2390f7
commit
20c2d4c36e
27 changed files with 108 additions and 61 deletions
|
|
@ -11,22 +11,19 @@ set -ex
|
|||
checksum-transcriber sources
|
||||
sha256sum -c sources.SHA256SUM
|
||||
|
||||
mkdir build src
|
||||
cd build
|
||||
|
||||
# Extract
|
||||
cp ${distfiles}/${pkg}.tar.bz2 ../src/
|
||||
bunzip2 -f ../src/${pkg}.tar.bz2
|
||||
tar xf ../src/${pkg}.tar
|
||||
mkdir build src
|
||||
cd src
|
||||
unbz2 --file ${distfiles}/${pkg}.tar.bz2 --output ${pkg}.tar
|
||||
cd ..
|
||||
|
||||
cd build
|
||||
untar --file ../src/${pkg}.tar
|
||||
cd ${pkg}
|
||||
|
||||
# Create config.h
|
||||
catm config.h
|
||||
|
||||
# Patch
|
||||
patch -Np0 -i ../../patches/static-link.patch
|
||||
patch -Np0 -i ../../patches/ignore-static-inside-array.patch
|
||||
|
||||
# Compile
|
||||
tcc-0.9.26 \
|
||||
-v \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue