freebsd-ports/devel/gn/files/patch-src_gn_args.cc
Oleh Hushchenkov 8e8c6231b3 devel/gn: Update to version 2124
ChangeLog: https://gn.googlesource.com/gn/

PR:		274841
Reported by:	o.hushchenkov@gmail.com (maintainer)
2023-11-02 08:28:53 +01:00

11 lines
556 B
C++

--- src/gn/args.cc.orig 2023-10-23 08:20:06 UTC
+++ src/gn/args.cc
@@ -368,7 +368,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.