From 707c839dbf92e336f5db2ac2861dac7813442f77 Mon Sep 17 00:00:00 2001 From: Chris Araman Date: Wed, 28 Apr 2021 14:54:38 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20Remove=20xcconfig=20overrides?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Homebrew/mas-tap.rb | 10 ---------- Homebrew/mas.rb | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/Homebrew/mas-tap.rb b/Homebrew/mas-tap.rb index 29eace2..1319348 100644 --- a/Homebrew/mas-tap.rb +++ b/Homebrew/mas-tap.rb @@ -26,16 +26,6 @@ class Mas < Formula end 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 bash_completion.install "contrib/completion/mas-completion.bash" => "mas" diff --git a/Homebrew/mas.rb b/Homebrew/mas.rb index 3fd47ca..2b88d02 100644 --- a/Homebrew/mas.rb +++ b/Homebrew/mas.rb @@ -21,16 +21,6 @@ class Mas < Formula end 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 bash_completion.install "contrib/completion/mas-completion.bash" => "mas"