diff options
author | José Fonseca <[email protected]> | 2009-05-01 16:12:17 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-05-05 13:14:51 +0100 |
commit | e9fb90ab8889136f788a3d9dc395b0f4d46cfdcc (patch) | |
tree | 434a9baada2b0f895cf0087edaf316239fe8618b /common.py | |
parent | 3537c3420d0887ed22565b9e4469952b99f1b76f (diff) |
scons: Don't use deprecated Options.
Diffstat (limited to 'common.py')
-rw-r--r-- | common.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common.py b/common.py index f1c6372abde..e57429eb75e 100644 --- a/common.py +++ b/common.py @@ -46,13 +46,13 @@ else: def AddOptions(opts): try: - from SCons.Options.BoolOption import BoolOption - except ImportError: from SCons.Variables.BoolVariable import BoolVariable as BoolOption - try: - from SCons.Options.EnumOption import EnumOption except ImportError: + from SCons.Options.BoolOption import BoolOption + try: from SCons.Variables.EnumVariable import EnumVariable as EnumOption + except ImportError: + from SCons.Options.EnumOption import EnumOption opts.Add(BoolOption('debug', 'debug build', 'no')) opts.Add(BoolOption('profile', 'profile build', 'no')) #opts.Add(BoolOption('quiet', 'quiet command lines', 'no')) |