From 528d4fef9203ec677242c28056b261e69c7d3ab3 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Sat, 9 Dec 2023 10:47:00 +0100 Subject: [PATCH] Add ppc64 targets (#40) --- musl-cross.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/musl-cross.rb b/musl-cross.rb index a0171ed..6a68ba9 100644 --- a/musl-cross.rb +++ b/musl-cross.rb @@ -24,6 +24,8 @@ class MuslCross < Formula option "with-mips64el", "Build cross-compilers targeting mips64el-linux-musl" option "with-powerpc", "Build cross-compilers targeting powerpc-linux-musl" option "with-powerpc-sf", "Build cross-compilers targeting powerpc-linux-muslsf" + option "with-powerpc64", "Build cross-compilers targeting powerpc64-linux-musl" + option "with-powerpc64le", "Build cross-compilers targeting powerpc64le-linux-musl" option "without-x86_64", "Do not build cross-compilers targeting x86_64-linux-musl" depends_on "gnu-sed" => :build @@ -102,6 +104,8 @@ def install targets.push "mips64el-linux-musl" if build.with? "mips64el" targets.push "powerpc-linux-musl" if build.with? "powerpc" targets.push "powerpc-linux-muslsf" if build.with? "powerpc-sf" + targets.push "powerpc64-linux-musl" if build.with? "powerpc64" + targets.push "powerpc64le-linux-musl" if build.with? "powerpc64le" (buildpath/"resources").mkpath resources.each do |resource|