mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 03:23:08 +00:00
📦 Update Homebrew formula
This commit is contained in:
parent
e8cdd18748
commit
da7dda1ac7
1 changed files with 1 additions and 4 deletions
|
@ -14,19 +14,16 @@ class Mas < Formula
|
|||
end
|
||||
|
||||
depends_on "carthage" => :build
|
||||
depends_on xcode: ["10.2", :build]
|
||||
depends_on xcode: ["11.4", :build]
|
||||
|
||||
def install
|
||||
# Working around build issues in dependencies
|
||||
# - Prevent warnings from causing build failures
|
||||
# - Prevent linker errors by telling all lib builds to use max size install names
|
||||
# - Ensure dependencies build for the current CPU; otherwise Commandant will
|
||||
# build for x86_64 when running arm64
|
||||
xcconfig = buildpath/"Overrides.xcconfig"
|
||||
xcconfig.write <<~EOS
|
||||
GCC_TREAT_WARNINGS_AS_ERRORS = NO
|
||||
OTHER_LDFLAGS = -headerpad_max_install_names
|
||||
VALID_ARCHS = #{Hardware::CPU.arch}
|
||||
EOS
|
||||
ENV["XCODE_XCCONFIG_FILE"] = xcconfig
|
||||
|
||||
|
|
Loading…
Reference in a new issue