You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
350 B

  1. --- a/engine/SCons/Platform/__init__.py
  2. +++ b/engine/SCons/Platform/__init__.py
  3. @@ -65,6 +65,8 @@ def platform_default():
  4. care about the machine architecture.
  5. """
  6. osname = os.name
  7. + if 'PLATFORM' in os.environ:
  8. + return os.environ['PLATFORM']
  9. if osname == 'java':
  10. osname = os._osType
  11. if osname == 'posix':