From 2498b43801026bf9996524efcc767f27a70b5360 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 11 Nov 2013 23:52:03 -0600 Subject: glib: remove dead code ENV.enable_warnings doesn't do anything under superenv, and we pass '-w' unconditionally, so this probably isn't needed anymore. --- Library/Formula/glib.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'Library') diff --git a/Library/Formula/glib.rb b/Library/Formula/glib.rb index 74ff8ce00..21000f153 100644 --- a/Library/Formula/glib.rb +++ b/Library/Formula/glib.rb @@ -41,9 +41,6 @@ class Glib < Formula def install ENV.universal_binary if build.universal? - # -w is said to causes gcc to emit spurious errors for this package - ENV.enable_warnings if ENV.compiler == :gcc - # Disable dtrace; see https://trac.macports.org/ticket/30413 args = %W[ --disable-maintainer-mode -- cgit v1.2.3