1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:37:34 +00:00

Toolchain: Update binutils to version 2.39

This commit is contained in:
Brian Gianforcaro 2022-08-22 23:52:23 -07:00 committed by Brian Gianforcaro
parent 7ac3dffe9e
commit e9e8111f4a
2 changed files with 4 additions and 5 deletions

View file

@ -296,11 +296,10 @@ build_toolchain() {
ensure_toolchain() {
[ -d "$TOOLCHAIN_DIR" ] || build_toolchain
# FIXME: Remove this check when most people have already updated their toolchain
if [ "$TOOLCHAIN_TYPE" = "GNU" ]; then
local ld_version
ld_version="$("$TOOLCHAIN_DIR"/bin/"$TARGET"-pc-serenity-ld -v)"
local expected_version="GNU ld (GNU Binutils) 2.38"
local expected_version="GNU ld (GNU Binutils) 2.39"
if [ "$ld_version" != "$expected_version" ]; then
echo "Your toolchain has an old version of binutils installed."
echo " installed version: \"$ld_version\""