Skip to content

Commit

Permalink
Add ppc64 targets (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero authored Dec 9, 2023
1 parent 9ed7372 commit 528d4fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions musl-cross.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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|
Expand Down

0 comments on commit 528d4fe

Please sign in to comment.