aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/ENV/super.rb
blob: 53a6bdc4d62ce1aea3cdea6cf988b2b64acda475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
module Superenv
  def fast
    odisabled "ENV.fast"
  end

  def O4
    odisabled "ENV.O4"
  end

  def Og
    odisabled "ENV.Og"
  end

  def gcc_4_0_1
    odisabled "ENV.gcc_4_0_1", "ENV.gcc_4_0"
  end

  def gcc
    odisabled "ENV.gcc", "ENV.gcc_4_2"
  end

  def libxml2
    odisabled "ENV.libxml2"
  end

  def minimal_optimization
    odisabled "ENV.minimal_optimization"
  end

  def no_optimization
    odisabled "ENV.no_optimization"
  end

  def enable_warnings
    odisabled "ENV.enable_warnings"
  end

  def macosxsdk
    odisabled "ENV.macosxsdk"
  end

  def remove_macosxsdk
    odisabled "ENV.remove_macosxsdk"
  end
end