UE4.25 for PS4 Build Failure

I’m able to build our game for Windows, but we get some interesting errors when building for PS4. This one shows up repeatedly:

PackagingResults: Error: arithmetic between different enumeration types (‘EStatAllFields::Type’ and ‘EStatMetaFlags::Type’) [-Werror,-Wenum-enum-conversion]

It looks like it’s at the engine level, but it seems odd that this would be an error for PS4 but not Windows. Has anyone else encountered this?

GetCLArguments_Global() is supposed to have an entry to silence this error: -Wno-enum-enum-conversion

I found this function in ‘LinuxToolchain.cs’ Is that the only place this should be appended at?
Thanks

The original poster was asking about PS4, so it’s PS4ToolChain.cs … but this does look like the same place for Linux targets via LinuxToolChain.cs