2012-05-05 21:02:35 +00:00
|
|
|
--- a/engine/SCons/Platform/__init__.py
|
|
|
|
+++ b/engine/SCons/Platform/__init__.py
|
2018-01-05 21:27:17 +00:00
|
|
|
@@ -65,6 +65,8 @@ def platform_default():
|
2012-05-05 21:02:35 +00:00
|
|
|
care about the machine architecture.
|
|
|
|
"""
|
|
|
|
osname = os.name
|
|
|
|
+ if 'PLATFORM' in os.environ:
|
|
|
|
+ return os.environ['PLATFORM']
|
|
|
|
if osname == 'java':
|
|
|
|
osname = os._osType
|
|
|
|
if osname == 'posix':
|