Skip to content

Commit a94a7cf

Browse files
committed
fix errors
1 parent 17b8243 commit a94a7cf

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Formula/[email protected]

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,9 @@ class AvrGccAT9 < Formula
77
sha256 "c95da32f440378d7751dd95533186f7fc05ceb4fb65eb5b85234e6299eb9838e"
88

99
license "GPL-3.0-or-later" => { with: "GCC-exception-3.1" }
10-
revision 1
1110

1211
head "https://gcc.gnu.org/git/gcc.git", branch: "releases/gcc-9"
1312

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-
2113
# The bottles are built on systems with the CLT installed, and do not work
2214
# out of the box on Xcode-only systems due to an incorrect sysroot.
2315
pour_bottle? only_if: :clt_installed
@@ -40,8 +32,6 @@ class AvrGccAT9 < Formula
4032
# GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib
4133
cxxstdlib_check :skip
4234

43-
current_build = build
44-
4535
resource "avr-libc" do
4636
url "https://github.com/avrdudes/avr-libc/releases/download/avr-libc-2_2_1-release/avr-libc-2.2.1.tar.bz2"
4737
sha256 "006a6306cbbc938c3bdb583ac54f93fe7d7c8cf97f9cde91f91c6fb0273ab465"
@@ -116,8 +106,6 @@ def install
116106
rm_r(info)
117107
rm_r(man7)
118108

119-
current_build = build
120-
121109
resource("avr-libc").stage do
122110
ENV.prepend_path "PATH", bin
123111

@@ -134,7 +122,6 @@ def install
134122
puts "Forcing build system to aarch64-apple-darwin."
135123
end
136124

137-
system "./bootstrap" if current_build.with? "ATMega168pbSupport"
138125
system "./configure", "--prefix=#{prefix}", "--host=avr"
139126
system "make", "install"
140127
end

0 commit comments

Comments
 (0)