Skip to content

Commit 7483af7

Browse files
fauxparkladislas
authored andcommitted
avr-binutils 2.42
Closes #330. Signed-off-by: Ladislas de Toldi <[email protected]>
1 parent 2272416 commit 7483af7

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

Formula/avr-binutils.rb

+4-13
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ class AvrBinutils < Formula
22
desc "GNU Binutils for the AVR target"
33
homepage "https://www.gnu.org/software/binutils"
44

5-
url "https://ftp.gnu.org/gnu/binutils/binutils-2.40.tar.xz"
6-
mirror "https://ftpmirror.gnu.org/binutils/binutils-2.40.tar.xz"
7-
sha256 "0f8a4c272d7f17f369ded10a4aca28b8e304828e95526da482b0ccc4dfc9d8e1"
8-
revision 2
5+
url "https://ftp.gnu.org/gnu/binutils/binutils-2.42.tar.xz"
6+
mirror "https://ftpmirror.gnu.org/binutils/binutils-2.42.tar.xz"
7+
sha256 "f6e4d41fd5fc778b06b7891457b3620da5ecea1006c6a4a41ae998109f85a800"
98

109
bottle do
1110
root_url "https://github.com/osx-cross/homebrew-avr/releases/download/avr-binutils-2.40_2"
@@ -63,16 +62,8 @@ def install
6362
info.rmtree # info files conflict with native binutils
6463
end
6564

66-
def caveats
67-
<<~EOS
68-
For Mac computers with Apple silicon, avr-binutils might need Rosetta 2 to work properly.
69-
You can learn more about Rosetta 2 here:
70-
> https://support.apple.com/en-us/HT211861
71-
EOS
72-
end
73-
7465
test do
75-
version_output = "GNU ld (GNU Binutils) 2.40\n"
66+
version_output = "GNU ld (GNU Binutils) 2.42\n"
7667
assert_equal `avr-ld -v`, version_output
7768
end
7869
end

0 commit comments

Comments
 (0)