aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV/std.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV/std.rb b/Library/Homebrew/extend/ENV/std.rb
index 7480cdddf..381549744 100644
--- a/Library/Homebrew/extend/ENV/std.rb
+++ b/Library/Homebrew/extend/ENV/std.rb
@@ -59,7 +59,7 @@ module Stdenv
if cc =~ GNU_GCC_REGEXP
warn_about_non_apple_gcc($1)
gcc_formula = gcc_version_formula($1)
- self.append_path('PATH', gcc_formula.opt_prefix/'bin')
+ append_path "PATH", gcc_formula.opt_bin.to_s
end
# Add lib and include etc. from the current macosxsdk to compiler flags: