diff options
| author | Adam Vandenberg | 2013-06-23 20:33:09 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-24 07:38:25 -0700 |
| commit | aafe2f20d01ef5b03fd005c4b3107086c8d080a3 (patch) | |
| tree | 52961451af27890340a0f75a00df1744915958e5 /Library/Homebrew/extend/ENV.rb | |
| parent | 41352cf1a8c08c8b37990bbac8388dad428618a6 (diff) | |
| download | brew-aafe2f20d01ef5b03fd005c4b3107086c8d080a3.tar.bz2 | |
Add Fortran ENV helpers
Diffstat (limited to 'Library/Homebrew/extend/ENV.rb')
| -rw-r--r-- | Library/Homebrew/extend/ENV.rb | 16 |
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 |
