diff --git a/Formula/arm-none-eabi-binutils.rb b/Formula/arm-none-eabi-binutils.rb index 02edec7..19f98bb 100644 --- a/Formula/arm-none-eabi-binutils.rb +++ b/Formula/arm-none-eabi-binutils.rb @@ -2,9 +2,9 @@ class ArmNoneEabiBinutils < Formula desc "GNU Tools for ARM Embedded Processors - Binutils" homepage "https://www.gnu.org/software/binutils/binutils.html" - url "https://ftp.gnu.org/gnu/binutils/binutils-2.38.tar.xz" - mirror "https://ftpmirror.gnu.org/binutils/binutils-2.38.tar.xz" - sha256 "e316477a914f567eccc34d5d29785b8b0f5a10208d36bbacedcc39048ecfe024" + url "https://ftp.gnu.org/gnu/binutils/binutils-2.42.tar.xz" + mirror "https://ftpmirror.gnu.org/binutils/binutils-2.42.tar.xz" + sha256 "f6e4d41fd5fc778b06b7891457b3620da5ecea1006c6a4a41ae998109f85a800" bottle do root_url "https://github.com/osx-cross/homebrew-arm/releases/download/arm-none-eabi-binutils-2.38" @@ -50,15 +50,7 @@ def install info.rmtree # info files conflict with native binutils end - def caveats - <<~EOS - For Mac computers with Apple silicon, arm-none-eabi-binutils might need Rosetta 2 to work properly. - You can learn more about Rosetta 2 here: - > https://support.apple.com/en-us/HT211861 - EOS - end - test do - assert_match "GNU ld (GNU Binutils) 2.38\n", `#{opt_prefix}/bin/arm-none-eabi-ld -v` + assert_match "GNU ld (GNU Binutils) 2.42\n", `#{opt_prefix}/bin/arm-none-eabi-ld -v` end end