# No --default-names option as it interferes with Homebrew builds.
definstall system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--target=amd64-unknown-linux-gnu", "--disable-static", "--disable-multilib", "--disable-nls", "--disable-werror" system "make", "MAKEINFO=true", "-j" system "make", "MAKEINFO=true", "install" system "rm", "-rf", "#{prefix}/share/info" end
test do assert .include? 'main' assert_equal 0, 0.exitstatus end end
之后在github创建一个仓库,然后里面
之后,通过brew tap lhy/my-tap [https://gitee.com/liu-sad/binutils.gi](https://gitee.com/liu-sad/binutils.git)t