diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-11-18 19:13:32 +0900 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-11-20 23:01:43 +0900 |
commit | 15b92b09e0f066a9d38c445b80b33193a8d9ea14 (patch) | |
tree | b01a9d619faddd6722adb2f79b243cbe901141a3 /common.py | |
parent | 59ae12b5b14a2bf18c4b566abcdf3211aa5eb4d6 (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
@@ -59,6 +59,8 @@ def AddOptions(opts): allowed_values=('generic', '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)) |