aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-08-30 16:44:50 -0500
committerJack Nagel2013-08-30 18:42:12 -0500
commit797c037c3ab30de4ad577829535da9ac9f7d8daa (patch)
treeb9eabfa004f2c667a143b197a83e8bec43cdf73b /Library
parent2028b2ef6d2690cc9118e05003b39049b1a17c0f (diff)
downloadhomebrew-797c037c3ab30de4ad577829535da9ac9f7d8daa.tar.bz2
ENV: use cflags setter
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ENV/std.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/ENV/std.rb b/Library/Homebrew/extend/ENV/std.rb
index 708117ca8..97c1bf615 100644
--- a/Library/Homebrew/extend/ENV/std.rb
+++ b/Library/Homebrew/extend/ENV/std.rb
@@ -231,11 +231,11 @@ module Stdenv
end
def minimal_optimization
- self['CFLAGS'] = self['CXXFLAGS'] = "-Os #{SAFE_CFLAGS_FLAGS}"
+ set_cflags "-Os #{SAFE_CFLAGS_FLAGS}"
macosxsdk unless MacOS::CLT.installed?
end
def no_optimization
- self['CFLAGS'] = self['CXXFLAGS'] = SAFE_CFLAGS_FLAGS
+ set_cflags SAFE_CFLAGS_FLAGS
macosxsdk unless MacOS::CLT.installed?
end