From bef9ec29ef22c41d175df5a7296d736b21dfff45 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 20 Apr 2014 22:39:46 -0500 Subject: Remove unused method --- Library/ENV/4.3/cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Library') diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index f6e546c15..13ad9d7a4 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -216,10 +216,6 @@ class Cmd # NOTE this only counts if Homebrew is installed at /usr/local syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#{brewfix}/lib" } end - def syscpath - isystem, _ = cpath - isystem + syspath.map{|d| "#{d}/include" } - end def cpath cpath = ENV['CMAKE_PREFIX_PATH'].split(':').map{|d| "#{d}/include" } + ENV['CMAKE_INCLUDE_PATH'].split(':') opt = cpath.grep(%r{^#{Regexp.escape(brewfix)}/opt}) -- cgit v1.2.3