diff options
| author | Jack Nagel | 2013-08-30 16:44:50 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-30 18:42:12 -0500 |
| commit | 2cb8c443e4bd44ea660657a3159268664f77a173 (patch) | |
| tree | d256afd388c1d5ac8002b77d7093f5afe7e100f6 | |
| parent | cc379432677aade85667b428a29b8deee2d41d57 (diff) | |
| download | brew-2cb8c443e4bd44ea660657a3159268664f77a173.tar.bz2 | |
ENV: use cflags setter
| -rw-r--r-- | Library/Homebrew/extend/ENV/std.rb | 4 |
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 |
