sync ports with The Matrix
This commit is contained in:
parent
9d4d2e721a
commit
79bc6d9d97
846 changed files with 10693 additions and 8131 deletions
|
@ -1,7 +1,7 @@
|
|||
Index: tools/gn/build/gen.py
|
||||
--- tools/gn/build/gen.py.orig
|
||||
+++ tools/gn/build/gen.py
|
||||
@@ -92,6 +92,12 @@ class Platform(object):
|
||||
@@ -94,6 +94,12 @@ class Platform(object):
|
||||
def is_solaris(self):
|
||||
return self._platform == 'solaris'
|
||||
|
||||
|
@ -12,9 +12,9 @@ Index: tools/gn/build/gen.py
|
|||
+ return self._platform == 'freebsd'
|
||||
+
|
||||
def is_posix(self):
|
||||
return self._platform in ['linux', 'freebsd', 'darwin', 'aix', 'openbsd', 'haiku', 'solaris', 'msys', 'netbsd']
|
||||
return self._platform in ['linux', 'freebsd', 'darwin', 'aix', 'openbsd', 'haiku', 'solaris', 'msys', 'netbsd', 'serenity']
|
||||
|
||||
@@ -283,7 +289,7 @@ def WriteGenericNinja(path, static_libraries, executab
|
||||
@@ -288,7 +294,7 @@ def WriteGenericNinja(path, static_libraries, executab
|
||||
'linux': 'build_linux.ninja.template',
|
||||
'freebsd': 'build_linux.ninja.template',
|
||||
'aix': 'build_aix.ninja.template',
|
||||
|
@ -23,7 +23,7 @@ Index: tools/gn/build/gen.py
|
|||
'haiku': 'build_haiku.ninja.template',
|
||||
'solaris': 'build_linux.ninja.template',
|
||||
'netbsd': 'build_linux.ninja.template',
|
||||
@@ -506,6 +512,9 @@ def WriteGNNinja(path, platform, host, options, args_l
|
||||
@@ -512,6 +518,9 @@ def WriteGNNinja(path, platform, host, options, args_l
|
||||
|
||||
if platform.is_posix() and not platform.is_haiku():
|
||||
ldflags.append('-pthread')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue