mirror of
https://github.com/systemd/systemd.git
synced 2025-01-02 01:18:14 +03:00
github: drop workaround and use distro mold
Now, ubuntu-24.04 has mold-2.30.0+dfsg-1build1 .
See https://packages.ubuntu.com/noble/mold .
(cherry picked from commit f85213e8f6
)
This commit is contained in:
parent
6b7cd2dd59
commit
53129f4fc8
10
.github/workflows/build_test.sh
vendored
10
.github/workflows/build_test.sh
vendored
@ -47,7 +47,7 @@ PACKAGES=(
|
|||||||
libxkbcommon-dev
|
libxkbcommon-dev
|
||||||
libxtables-dev
|
libxtables-dev
|
||||||
libzstd-dev
|
libzstd-dev
|
||||||
# mold
|
mold
|
||||||
mount
|
mount
|
||||||
net-tools
|
net-tools
|
||||||
python3-evdev
|
python3-evdev
|
||||||
@ -70,14 +70,6 @@ LINKER="${LINKER:?}"
|
|||||||
CRYPTOLIB="${CRYPTOLIB:?}"
|
CRYPTOLIB="${CRYPTOLIB:?}"
|
||||||
RELEASE="$(lsb_release -cs)"
|
RELEASE="$(lsb_release -cs)"
|
||||||
|
|
||||||
# mold-2.2.0+ fixes some bugs breaking bootloader builds.
|
|
||||||
# TODO: Switch to distro mold with ubuntu-24.04
|
|
||||||
if [[ "$LINKER" == mold ]]; then
|
|
||||||
wget https://github.com/rui314/mold/releases/download/v2.2.0/mold-2.2.0-x86_64-linux.tar.gz
|
|
||||||
echo "d66e0230c562c2ba0e0b789cc5034e0fa2369cc843d0154920de4269cd94afeb mold-2.2.0-x86_64-linux.tar.gz" | sha256sum -c
|
|
||||||
sudo tar -xz -C /usr --strip-components=1 -f mold-2.2.0-x86_64-linux.tar.gz
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Note: As we use postfixed clang/gcc binaries, we need to override $AR
|
# Note: As we use postfixed clang/gcc binaries, we need to override $AR
|
||||||
# as well, otherwise meson falls back to ar from binutils which
|
# as well, otherwise meson falls back to ar from binutils which
|
||||||
# doesn't work with LTO
|
# doesn't work with LTO
|
||||||
|
Loading…
Reference in New Issue
Block a user