mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Add Fortran ENV helpers
This commit is contained in:
parent
41352cf1a8
commit
aafe2f20d0
@ -423,12 +423,16 @@ class << ENV
|
|||||||
delete(key) if self[key].to_s.empty?
|
delete(key) if self[key].to_s.empty?
|
||||||
end if value
|
end if value
|
||||||
end
|
end
|
||||||
|
|
||||||
def cc; self['CC'] or "cc"; end
|
def cc; self['CC'] or "cc"; end
|
||||||
def cxx; self['CXX'] or "c++"; end
|
def cxx; self['CXX'] or "c++"; end
|
||||||
def cflags; self['CFLAGS']; end
|
def cflags; self['CFLAGS']; end
|
||||||
def cxxflags;self['CXXFLAGS']; end
|
def cxxflags; self['CXXFLAGS']; end
|
||||||
def cppflags;self['CPPFLAGS']; end
|
def cppflags; self['CPPFLAGS']; end
|
||||||
def ldflags; self['LDFLAGS']; 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
|
# Snow Leopard defines an NCURSES value the opposite of most distros
|
||||||
# See: http://bugs.python.org/issue6848
|
# See: http://bugs.python.org/issue6848
|
||||||
|
Loading…
x
Reference in New Issue
Block a user