Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
add ENV.O1
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
camillol authored and adamv committed Feb 19, 2012
1 parent 6685989 commit 5ae547a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Library/Homebrew/extend/ENV.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ def Og
remove_from_cflags(/-O./)
append_to_cflags '-g -O0'
end
def O1
# Sometimes even O2 doesn't work :(
remove_from_cflags(/-O./)
append_to_cflags '-O1'
end

def gcc_4_0_1
# we don't use xcrun because gcc 4.0 has not been provided since Xcode 4
Expand Down

0 comments on commit 5ae547a

Please sign in to comment.