aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2012-02-12 17:29:02 -0600
committerJack Nagel2012-02-12 17:29:02 -0600
commit10ddeaef8b8d19bcffed989d863cda6dc81c90dc (patch)
tree34253373d219626a4ca6cc39f645fc78c19458a2 /Library/Homebrew
parent252605b2ae6ce344e88e946c7de6ef19f7e82121 (diff)
downloadbrew-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>
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/ENV.rb1
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