We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32dd1f9 commit 6ad510dCopy full SHA for 6ad510d
Formula/s/skymaker.rb
@@ -30,11 +30,15 @@ class Skymaker < Formula
30
depends_on "fftw"
31
32
def install
33
+ # Work around failure from GCC 10+ using default of `-fno-common`
34
+ ENV.append_to_cflags "-fcommon" if OS.linux?
35
+
36
+ args = []
37
+ # Help old config scripts identify arm64 linux
38
+ args << "--build=aarch64-unknown-linux-gnu" if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
39
40
system "autoconf"
- system "./configure", "--disable-debug",
- "--disable-dependency-tracking",
- "--disable-silent-rules",
- "--prefix=#{prefix}"
41
+ system "./configure", *args, *std_configure_args
42
system "make"
43
system "make", "install"
44
end
0 commit comments