summaryrefslogtreecommitdiff
path: root/devel/electron4/files/patch-tools_gn_util_sys__info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron4/files/patch-tools_gn_util_sys__info.cc')
-rw-r--r--devel/electron4/files/patch-tools_gn_util_sys__info.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron4/files/patch-tools_gn_util_sys__info.cc b/devel/electron4/files/patch-tools_gn_util_sys__info.cc
new file mode 100644
index 000000000000..408fd97444a1
--- /dev/null
+++ b/devel/electron4/files/patch-tools_gn_util_sys__info.cc
@@ -0,0 +1,11 @@
+--- tools/gn/util/sys_info.cc.orig 2019-08-26 19:07:16 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";
+ }