summaryrefslogtreecommitdiffstats
blob: c130faff9dcc5bf2c7028c49ba3df10fffdebb2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import SCons.Util

def generate(env) :
  def useFlags(env, flags) :
    for flag in flags :
      if flag in env :
        env[flag] = env[flag] + flags[flag]
      else :
        env[flag] = flags[flag]
  env.AddMethod(useFlags, "UseFlags")

def exists(env) :
  return True