mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 03:23:08 +00:00
🛠 Remove xcconfig overrides
This commit is contained in:
parent
d8ccec17fc
commit
707c839dbf
2 changed files with 0 additions and 20 deletions
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue