FiloSottile / homebrew-musl-cross

Homebrew Formula for static-friendly musl-based GCC macOS-to-Linux cross-compilers

Home Page:https://blog.filippo.io/easy-windows-and-linux-cross-compilers-for-macos/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow x86_64 with others

gwillem opened this issue · comments

If I run brew install FiloSottile/musl-cross/musl-cross --with-aarch64 --with-x86_64, it will not build the x86_64 chain, so I had to change /opt/homebrew/Library/Taps/filosottile/homebrew-musl-cross/musl-cross.rb:

-  option "without-x86_64", "Do not build cross-compilers targeting x86_64-linux-musl"
+  option "with-x86_64", "Build cross-compilers targeting x86_64-linux-musl"

PS. Thanks for this repo, it saved me a lot of time!

x86_64 is installed by default, unless the without-x86_64 option is selected.