diff options
| author | Jack Nagel | 2012-02-12 17:29:02 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-02-12 17:29:02 -0600 |
| commit | 10ddeaef8b8d19bcffed989d863cda6dc81c90dc (patch) | |
| tree | 34253373d219626a4ca6cc39f645fc78c19458a2 | |
| parent | 252605b2ae6ce344e88e946c7de6ef19f7e82121 (diff) | |
| download | brew-10ddeaef8b8d19bcffed989d863cda6dc81c90dc.tar.bz2 | |
Add ENV.cxxflags
Useful when CXXFLAGS has diverged fom CFLAGS, e.g. via ENV.append, and
also it is nice for CXX to have symmetry with CC.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Homebrew/extend/ENV.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb index 2ea1127c1..aeb24efc5 100644 --- a/Library/Homebrew/extend/ENV.rb +++ b/Library/Homebrew/extend/ENV.rb @@ -211,6 +211,7 @@ Please take one of the following actions: def cc; self['CC'] or "gcc"; end def cxx; self['CXX'] or "g++"; end def cflags; self['CFLAGS']; end + def cxxflags;self['CXXFLAGS']; end def cppflags;self['CPPLAGS']; end def ldflags; self['LDFLAGS']; end |
