summaryrefslogtreecommitdiffstats
blob: fe0cfcc54c87665ef4ccd729f58c165dd55f3985 (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