aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-23 20:33:09 -0700
committerAdam Vandenberg2013-06-24 07:38:25 -0700
commitaafe2f20d01ef5b03fd005c4b3107086c8d080a3 (patch)
tree52961451af27890340a0f75a00df1744915958e5 /Library
parent41352cf1a8c08c8b37990bbac8388dad428618a6 (diff)
downloadbrew-aafe2f20d01ef5b03fd005c4b3107086c8d080a3.tar.bz2
Add Fortran ENV helpers
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV.rb16
1 files changed, 10 insertions, 6 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index 816cfb606..22f1a92b4 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -423,12 +423,16 @@ class << ENV
delete(key) if self[key].to_s.empty?
end if value
end
- def cc; self['CC'] or "cc"; end
- def cxx; self['CXX'] or "c++"; end
- def cflags; self['CFLAGS']; end
- def cxxflags;self['CXXFLAGS']; end
- def cppflags;self['CPPFLAGS']; end
- def ldflags; self['LDFLAGS']; end
+
+ def cc; self['CC'] or "cc"; end
+ def cxx; self['CXX'] or "c++"; end
+ def cflags; self['CFLAGS']; end
+ def cxxflags; self['CXXFLAGS']; end
+ def cppflags; self['CPPFLAGS']; end
+ def ldflags; self['LDFLAGS']; end
+ def fc; self['FC']; end
+ def fflags; self['FFLAGS']; end
+ def fcflags; self['FCFLAGS']; end
# Snow Leopard defines an NCURSES value the opposite of most distros
# See: http://bugs.python.org/issue6848