We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 502c9ff + 0310c02 commit 8c28fc6Copy full SHA for 8c28fc6
Formula/h/hexcurse.rb
@@ -26,9 +26,11 @@ class Hexcurse < Formula
26
uses_from_macos "ncurses"
27
28
def install
29
- system "./configure", "--disable-dependency-tracking",
30
- "--prefix=#{prefix}",
31
- "--mandir=#{man}"
+ # Work around failure from GCC 10+ using default of `-fno-common`
+ # multiple definition of `fpIN'; file.o:(.bss+0x0): first defined here
+ ENV.append_to_cflags "-fcommon" if OS.linux?
32
+
33
+ system "./configure", "--mandir=#{man}", *std_configure_args
34
system "make", "install"
35
end
36
0 commit comments