diff options
Diffstat (limited to 'www/chromium/files/patch-build_toolchain_get__concurrent__links.py')
-rw-r--r-- | www/chromium/files/patch-build_toolchain_get__concurrent__links.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/www/chromium/files/patch-build_toolchain_get__concurrent__links.py b/www/chromium/files/patch-build_toolchain_get__concurrent__links.py deleted file mode 100644 index 5cf16130a4db..000000000000 --- a/www/chromium/files/patch-build_toolchain_get__concurrent__links.py +++ /dev/null @@ -1,14 +0,0 @@ ---- build/toolchain/get_concurrent_links.py.orig 2021-08-17 00:15:54 UTC -+++ build/toolchain/get_concurrent_links.py -@@ -53,6 +53,11 @@ def _GetTotalMemoryInBytes(): - return int(subprocess.check_output(['sysctl', '-n', 'hw.memsize'])) - except Exception: - return 0 -+ elif sys.platform.startswith('freebsd'): -+ try: -+ return int(subprocess.check_output(['sysctl', '-n', 'hw.physmem'])) -+ except Exception: -+ return 1 - # TODO(scottmg): Implement this for other platforms. - return 0 - |