commit | f65a6d2cb18c0614e3adb27e007687cde570e8ec | [log] [tgz] |
---|---|---|
author | René Bertin <rjvbertin@gmail.com> | Wed Apr 24 21:35:23 2024 +0200 |
committer | Brad King <brad.king@kitware.com> | Wed Apr 24 16:57:36 2024 -0400 |
tree | e895b56dff415ab093682a8b7724cd8ccabf1888 | |
parent | 7dac16498e070eac26073e9940b067d33a5f9256 [diff] |
GNU: Do not use "fat-lto-objects" flags for IPO on Apple platforms Fat LTO objects contain both traditional object code and the LTO bitcode IR, but the GNU compiler does not support them on Apple platforms. A compile error is raised when `-f[no-]fat-lto-objects` flags are used, so avoid them. This also implies that static Fortran libraries cannot be built with IPO. Fixes: #25931