Index: tools/utils.py |
diff --git a/tools/utils.py b/tools/utils.py |
index 196bb055559bf45de94b3261732b25c289cba8bf..435c12dee6c52adb599e5e3cd8744a483563db61 100644 |
--- a/tools/utils.py |
+++ b/tools/utils.py |
@@ -57,6 +57,8 @@ def GuessOS(): |
return 'freebsd' |
elif id == 'OpenBSD': |
return 'openbsd' |
+ elif id == 'SunOS': |
+ return 'solaris' |
else: |
return None |
@@ -67,6 +69,8 @@ def GuessArchitecture(): |
return 'arm' |
elif (not id) or (not re.match('(x|i[3-6])86', id) is None): |
return 'ia32' |
+ elif id == 'i86pc': |
+ return 'ia32' |
else: |
return None |