| commit | ef006ebd9b11945cfb1b93f85d9ff85a077e8991 | [log] [tgz] |
|---|---|---|
| author | Brad King <brad.king@kitware.com> | Wed May 01 12:34:38 2024 -0400 |
| committer | Brad King <brad.king@kitware.com> | Wed May 01 12:43:39 2024 -0400 |
| tree | 3ac61e87dc61a7c5c4cd2ca5703fb081c9ac8352 | |
| parent | 99bfb430eeff5816125b5ae48fda8816453435e9 [diff] |
PCH: Use per-arch .pch files only when building multiple Apple architectures Since commit f593b354da (PCH: Add support for multi architecture iOS projects, 2020-04-02, v3.18.0-rc1~414^2) we use per-arch .pch files even when compiling for just the host architecture on macOS arm64. This breaks with compilers that do not support `-Xarch_` flags, such as GCC. Avoid using per-arch .pch files in single-architecture builds. Fixes: #25514 Issue: #20497