@@ -7,17 +7,9 @@ class AvrGccAT9 < Formula
7
7
sha256 "c95da32f440378d7751dd95533186f7fc05ceb4fb65eb5b85234e6299eb9838e"
8
8
9
9
license "GPL-3.0-or-later" => { with : "GCC-exception-3.1" }
10
- revision 1
11
10
12
11
head "https://gcc.gnu.org/git/gcc.git" , branch : "releases/gcc-9"
13
12
14
- bottle do
15
- root_url "https://github.com/osx-cross/homebrew-avr/releases/download/[email protected] _1"
16
- sha256 arm64_sonoma : "bd400587fee5d1f34c41de95d80a2e0bd99eb350902e1c535c1ae332a5107f00"
17
- sha256 ventura : "d057720b566d688fd97c5c2293fc07090da0e6988c677abe894e132471243589"
18
- sha256 monterey : "74ce93105e38ff9a61383348924d603f18d41cd7440822ec7337ee6aa9609f8f"
19
- end
20
-
21
13
# The bottles are built on systems with the CLT installed, and do not work
22
14
# out of the box on Xcode-only systems due to an incorrect sysroot.
23
15
pour_bottle? only_if : :clt_installed
@@ -40,8 +32,6 @@ class AvrGccAT9 < Formula
40
32
# GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib
41
33
cxxstdlib_check :skip
42
34
43
- current_build = build
44
-
45
35
resource "avr-libc" do
46
36
url "https://github.com/avrdudes/avr-libc/releases/download/avr-libc-2_2_1-release/avr-libc-2.2.1.tar.bz2"
47
37
sha256 "006a6306cbbc938c3bdb583ac54f93fe7d7c8cf97f9cde91f91c6fb0273ab465"
@@ -116,8 +106,6 @@ def install
116
106
rm_r ( info )
117
107
rm_r ( man7 )
118
108
119
- current_build = build
120
-
121
109
resource ( "avr-libc" ) . stage do
122
110
ENV . prepend_path "PATH" , bin
123
111
@@ -134,7 +122,6 @@ def install
134
122
puts "Forcing build system to aarch64-apple-darwin."
135
123
end
136
124
137
- system "./bootstrap" if current_build . with? "ATMega168pbSupport"
138
125
system "./configure" , "--prefix=#{ prefix } " , "--host=avr"
139
126
system "make" , "install"
140
127
end
0 commit comments