File tree 1 file changed +6
-7
lines changed
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,12 @@ class Gaul < Formula
30
30
end
31
31
32
32
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 } "
33
+ # Run autoreconf to regenerate the configure script and update outdated macros.
34
+ # This ensures that the build system is properly configured on both macOS
35
+ # (avoiding issues like flat namespace conflicts) and Linux (where outdated
36
+ # config scripts may fail to detect the correct build type).
37
+ system "autoreconf" , "--force" , "--verbose" , "--install"
38
+ system "./configure" , *std_configure_args
40
39
system "make" , "install"
41
40
end
42
41
end
You can’t perform that action at this time.
0 commit comments