mesa/st: fix softpipe npot compressed mipmaps.
[mesa.git] / common.py
index e7941262e5264c115884be25236356d1d089c67f..1d0c6a71fa5419d538ffcdafa8a4f653339e4d76 100644 (file)
--- a/common.py
+++ b/common.py
@@ -15,6 +15,8 @@ import SCons.Script.SConscript
 # Defaults
 
 host_platform = _platform.system().lower()
+if host_platform.startswith('cygwin'):
+    host_platform = 'cygwin'
 
 # Search sys.argv[] for a "platform=foo" argument since we don't have
 # an 'env' variable at this point.
@@ -30,6 +32,7 @@ _machine_map = {
        'i586': 'x86',
        'i686': 'x86',
        'ppc' : 'ppc',
+       'AMD64': 'x86_64',
        'x86_64': 'x86_64',
 }