dev-cmd/create: use std_configure_args
This commit is contained in:
parent
a930e2b362
commit
3d391d6427
@ -156,10 +156,7 @@ module Homebrew
|
|||||||
system "cmake", ".", *std_cmake_args
|
system "cmake", ".", *std_cmake_args
|
||||||
<% elsif mode == :autotools %>
|
<% elsif mode == :autotools %>
|
||||||
# Remove unrecognized options if warned by configure
|
# Remove unrecognized options if warned by configure
|
||||||
system "./configure", "--disable-debug",
|
system "./configure", *std_configure_args, "--disable-silent-rules"
|
||||||
"--disable-dependency-tracking",
|
|
||||||
"--disable-silent-rules",
|
|
||||||
"--prefix=\#{prefix}"
|
|
||||||
<% elsif mode == :crystal %>
|
<% elsif mode == :crystal %>
|
||||||
system "shards", "build", "--release"
|
system "shards", "build", "--release"
|
||||||
bin.install "bin/#{name}"
|
bin.install "bin/#{name}"
|
||||||
@ -206,10 +203,7 @@ module Homebrew
|
|||||||
system "cargo", "install", *std_cargo_args
|
system "cargo", "install", *std_cargo_args
|
||||||
<% else %>
|
<% else %>
|
||||||
# Remove unrecognized options if warned by configure
|
# Remove unrecognized options if warned by configure
|
||||||
system "./configure", "--disable-debug",
|
system "./configure", *std_configure_args, "--disable-silent-rules"
|
||||||
"--disable-dependency-tracking",
|
|
||||||
"--disable-silent-rules",
|
|
||||||
"--prefix=\#{prefix}"
|
|
||||||
# system "cmake", ".", *std_cmake_args
|
# system "cmake", ".", *std_cmake_args
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if mode == :autotools || mode == :cmake %>
|
<% if mode == :autotools || mode == :cmake %>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user