We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--build
1 parent 18acb19 commit bb6ebb5Copy full SHA for bb6ebb5
Formula/g/gaul.rb
@@ -33,10 +33,13 @@ def install
33
# Run autoreconf on macOS to rebuild configure script so that it doesn't try
34
# to build with a flat namespace.
35
system "autoreconf", "--force", "--verbose", "--install" if OS.mac?
36
- system "./configure", "--disable-dependency-tracking",
37
- "--disable-debug",
38
- "--disable-g",
39
- "--prefix=#{prefix}"
+
+ args = ["--disable-g"]
+ # Help old config scripts identify arm64 linux
40
+ args << "--build=aarch64-unknown-linux-gnu" if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
41
42
+ system "./configure", *args, *std_configure_args
43
system "make", "install"
44
end
45
0 commit comments