summaryrefslogtreecommitdiff
path: root/devel/gn/files/patch-src_gn_args.cc
blob: 6e7554c7fcc904bde32028f07b7f94e90831e60d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/gn/args.cc.orig	2021-04-06 17:41:35 UTC
+++ src/gn/args.cc
@@ -357,7 +357,7 @@ void Args::SetSystemVarsLocked(Scope* dest) const {
     arch = kMips64;
   else if (os_arch == "s390x")
     arch = kS390X;
-  else if (os_arch == "ppc64" || os_arch == "ppc64le")
+  else if (os_arch == "ppc64" || os_arch == "ppc64le" || os_arch == "powerpc")
     // We handle the endianness inside //build/config/host_byteorder.gni.
     // This allows us to use the same toolchain as ppc64 BE
     // and specific flags are included using the host_byteorder logic.