diff options
author | José Fonseca <[email protected]> | 2008-11-18 19:13:32 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-11-18 19:13:32 +0900 |
commit | 6cf59e1293c5777ba5675e6315cbfad3211f9260 (patch) | |
tree | 26a64dee5da58421c6e4e70456d379d1c0519e74 /common.py | |
parent | e45773b3de1bbd7db717336a1b5c964b6cdb718e (diff) |
scons: Support MinGW32 cross compiler.
To build an alternative opengl32.dll with Gallium's software-rasterizer from a
debian-based distribution run:
sudo apt-get install mingw32
scons platform=windows toolchain=crossmingw machine=x86 winsys=gdi dri=no
Diffstat (limited to 'common.py')
-rw-r--r-- | common.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common.py b/common.py index cc2582f1a4e..d9e919ef76c 100644 --- a/common.py +++ b/common.py @@ -60,6 +60,8 @@ 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'))) + opts.Add(EnumOption('toolchain', 'compiler toolchain', 'default', + allowed_values=('default', 'crossmingw'))) opts.Add(BoolOption('llvm', 'use LLVM', 'no')) opts.Add(BoolOption('dri', 'build DRI drivers', default_dri)) |