23 lines
436 B
Bash
Executable File
23 lines
436 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
|
|
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
set -ex
|
|
|
|
cd src/mes-libc
|
|
|
|
# Patch
|
|
patch -Np0 -i ../../patches-mes-libc/qsort.patch
|
|
patch -Np0 -i ../../patches-mes-libc/crt1.patch
|
|
|
|
# Recompile libc
|
|
kaem --file ../../compile-libc.kaem
|
|
|
|
cd ../..
|
|
|
|
# Checksums
|
|
sha256sum -c checksums/mes-libc-patched
|