Merge pull request #10047 from iMichka/config
formula: add std_configure_args
This commit is contained in:
commit
27c4b9c236
@ -1392,6 +1392,11 @@ class Formula
|
|||||||
"#<Formula #{name} (#{active_spec_sym}) #{path}>"
|
"#<Formula #{name} (#{active_spec_sym}) #{path}>"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Standard parameters for configure builds.
|
||||||
|
def std_configure_args
|
||||||
|
["--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--libdir=#{lib}"]
|
||||||
|
end
|
||||||
|
|
||||||
# Standard parameters for cargo builds.
|
# Standard parameters for cargo builds.
|
||||||
def std_cargo_args
|
def std_cargo_args
|
||||||
["--locked", "--root", prefix, "--path", "."]
|
["--locked", "--root", prefix, "--path", "."]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user