File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,14 @@ class GccAT13 < Formula
4747 sha256 "c5e9236430ef6edbdda7de9ac70bf79e21628077a48322cec7f3f064ccfc243d"
4848 end
4949
50+ # Apply additional commits to support Xcode 16 until the next release
51+ patch do
52+ on_macos do
53+ url "https://github.com/iains/gcc-13-branch/compare/fa196a8618c62428a372fb251f9fa292d4f275c2..4fdcc027fcc235805c7cc4bede6948b9a00afe1e.patch"
54+ sha256 "c41b217f1e6dc447e208ade4c76e86d5a95a1bd9790abc28bc9c2a4f09b7eb4e"
55+ end
56+ end
57+
5058 def install
5159 # GCC will suffer build errors if forced to use a particular linker.
5260 ENV . delete "LD"
@@ -102,6 +110,7 @@ def install
102110 # Change the default directory name for 64-bit libraries to `lib`
103111 # https://stackoverflow.com/a/54038769
104112 inreplace "gcc/config/i386/t-linux64" , "m64=../lib64" , "m64="
113+ inreplace "gcc/config/aarch64/t-aarch64-linux" , "lp64=../lib64" , "lp64="
105114
106115 make_args = %W[
107116 BOOT_CFLAGS=-I#{ Formula [ "zlib" ] . opt_include }
You can’t perform that action at this time.
0 commit comments