ports/www/chromium/files/patch-tools_gn_util_sys__info.cc
Rene Ladan a8a9149eb3 www/chromium: update to 74.0.3729.157
Submitted by:	Matthias Wolf via GitHub (#150 #151)
MFH:		2019Q2
2019-05-24 12:34:58 +00:00

11 lines
359 B
C++

--- tools/gn/util/sys_info.cc.orig 2019-04-30 22:29:37 UTC
+++ tools/gn/util/sys_info.cc
@@ -28,6 +28,8 @@ std::string OperatingSystemArchitecture() {
arch = "x86";
} else if (arch == "amd64") {
arch = "x86_64";
+ } else if (arch == "arm64") {
+ arch = "aarch64";
} else if (std::string(info.sysname) == "AIX") {
arch = "ppc64";
}