Skip to content

Commit 609a7c2

Browse files
authored
Bump to 12.4.0
1 parent 5db6eff commit 609a7c2

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
if: ${{ failure() }}
2828
uses: mxschmitt/action-tmate@v3
2929
- name: Upload Build Archive
30-
uses: actions/upload-artifact@v2
30+
uses: actions/upload-artifact@v3
3131
with:
3232
name: newer-toolchain-${{ matrix.target_arch }}-${{ github.sha }}
3333
path: ${{ github.workspace }}/build/
@@ -38,7 +38,7 @@ jobs:
3838
runs-on: ubuntu-22.04
3939
steps:
4040
- name: Fetch archives
41-
uses: actions/download-artifact@v2
41+
uses: actions/download-artifact@v3
4242
with:
4343
path: ./
4444
- name: Copy archives

build.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ source $_SCRIPTDIR/common-files/termux_download.sh
2727
: ${_TMP_DIR:=$_SCRIPTDIR/tmp}
2828
: ${_API_LEVEL:=21}
2929
: ${_MAKE_PROCESSES:=$(nproc)}
30-
: ${GCC_VERSION:=12.3.0}
31-
: ${GCC_SHA256:=11275aa7bb34cd8ab101d01b341015499f8d9466342a2574ece93f954d92273b}
32-
: ${BINUTILS_VERSION:=2.41}
33-
: ${BINUTILS_SHA256:=48d00a8dc73aa7d2394a7dc069b96191d95e8de8f0da6dc91da5cce655c20e45}
30+
: ${GCC_VERSION:=12.4.0}
31+
: ${GCC_SHA256:=5a30de2be740062bb3ddd3fd13c9b1bb4584d8f85616d33f23a713439d714148}
32+
: ${BINUTILS_VERSION:=2.43}
33+
: ${BINUTILS_SHA256:=025c436d15049076ebe511d29651cc4785ee502965a8839936a65518582bdd64}
3434

3535
export TOOLCHAIN_ARCH
3636

@@ -103,6 +103,8 @@ $BINUTILS_SRC_DIR/configure \
103103
--target=$_HOST_PLATFORM \
104104
--prefix=$_TMP_DIR/newer-toolchain \
105105
--with-sysroot=$_TMP_DIR/newer-toolchain/sysroot \
106+
--with-zstd \
107+
ZSTD_LIBS=-l:libzstd.a \
106108
$_BINUTILS_EXTRA_HOST_BUILD
107109
make -j $_MAKE_PROCESSES
108110
make -j $_MAKE_PROCESSES install-strip

0 commit comments

Comments
 (0)