37 lines
836 B
Python
37 lines
836 B
Python
$NetBSD: patch-python_mozbuild_mozbuild_configure_constants.py,v 1.2 2019/10/08 21:16:06 jklos Exp $
|
|
|
|
Support SunOS.
|
|
|
|
--- python/mozbuild/mozbuild/configure/constants.py.orig 2018-04-28 01:04:05.000000000 +0000
|
|
+++ python/mozbuild/mozbuild/configure/constants.py
|
|
@@ -24,6 +24,7 @@ OS = EnumString.subclass(
|
|
'NetBSD',
|
|
'OpenBSD',
|
|
'OSX',
|
|
+ 'SunOS',
|
|
'WINNT',
|
|
)
|
|
|
|
@@ -35,12 +36,13 @@ Kernel = EnumString.subclass(
|
|
'Linux',
|
|
'NetBSD',
|
|
'OpenBSD',
|
|
+ 'SunOS',
|
|
'WINNT',
|
|
)
|
|
|
|
CPU_bitness = {
|
|
'aarch64': 64,
|
|
- 'Alpha': 32,
|
|
+ 'Alpha': 64,
|
|
'arm': 32,
|
|
'hppa': 32,
|
|
'ia64': 64,
|
|
@@ -97,6 +99,7 @@ kernel_preprocessor_checks = {
|
|
'Linux': '__linux__',
|
|
'NetBSD': '__NetBSD__',
|
|
'OpenBSD': '__OpenBSD__',
|
|
+ 'SunOS': '__sun',
|
|
'WINNT': '_WIN32 || __CYGWIN__',
|
|
}
|
|
|