scons: Allow any toolchain to be specified in the command line.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 8 Mar 2010 19:58:34 +0000 (19:58 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 31 Mar 2010 17:37:38 +0000 (18:37 +0100)
common.py

index 928a4496f78f6c504f169c129330c560f157d7c6..97389ed5001b04e3f0c07c86c0ae8d6af0e1ebfb 100644 (file)
--- a/common.py
+++ b/common.py
@@ -60,7 +60,6 @@ def AddOptions(opts):
                                                                                         allowed_values=('generic', 'ppc', 'x86', 'x86_64')))
        opts.Add(EnumOption('platform', 'target platform', default_platform,
                                                                                         allowed_values=('linux', 'cell', 'windows', 'winddk', 'wince', 'darwin', 'embedded')))
-       opts.Add(EnumOption('toolchain', 'compiler toolchain', 'default',
-                                                                                        allowed_values=('default', 'crossmingw', 'winsdk', 'winddk')))
+       opts.Add('toolchain', 'compiler toolchain', 'default')
        opts.Add(BoolOption('llvm', 'use LLVM', 'no'))
        opts.Add(BoolOption('dri', 'build DRI drivers', default_dri))