🛠 Remove xcconfig overrides

This commit is contained in:
Chris Araman 2021-04-28 14:54:38 -07:00
parent d8ccec17fc
commit 707c839dbf
No known key found for this signature in database
GPG key ID: BB4499D9E11B61E0
2 changed files with 0 additions and 20 deletions

View file

@ -26,16 +26,6 @@ class Mas < Formula
end end
def install 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
xcconfig = buildpath/"Overrides.xcconfig"
xcconfig.write <<~EOS
GCC_TREAT_WARNINGS_AS_ERRORS = NO
OTHER_LDFLAGS = -headerpad_max_install_names
EOS
ENV["XCODE_XCCONFIG_FILE"] = xcconfig
system "script/install", prefix system "script/install", prefix
bash_completion.install "contrib/completion/mas-completion.bash" => "mas" bash_completion.install "contrib/completion/mas-completion.bash" => "mas"

View file

@ -21,16 +21,6 @@ class Mas < Formula
end end
def install 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
xcconfig = buildpath/"Overrides.xcconfig"
xcconfig.write <<~EOS
GCC_TREAT_WARNINGS_AS_ERRORS = NO
OTHER_LDFLAGS = -headerpad_max_install_names
EOS
ENV["XCODE_XCCONFIG_FILE"] = xcconfig
system "script/install", prefix system "script/install", prefix
bash_completion.install "contrib/completion/mas-completion.bash" => "mas" bash_completion.install "contrib/completion/mas-completion.bash" => "mas"