libdaemon: fix build on arm64 linux
Closes #120027. Signed-off-by: Michka Popoff <3406519+iMichka@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
c8fe0ad9d9
commit
a989f6fc2c
|
@ -31,8 +31,11 @@ class Libdaemon < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
args = ["--disable-silent-rules"]
|
||||
# Help old config scripts identify arm64 linux
|
||||
args << "--build=aarch64-unknown-linux-gnu" if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
|
||||
|
||||
system "./configure", *std_configure_args, *args
|
||||
system "make", "install"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue