| commit | 73e84a392bc2edc53a4e7b4cc8356a4a0c2b5c8f | [log] [tgz] |
|---|---|---|
| author | Daniel Schürmann <daschuer@mixxx.org> | Tue Nov 01 16:04:54 2022 +0100 |
| committer | Brad King <brad.king@kitware.com> | Tue Nov 01 14:59:24 2022 -0400 |
| tree | 96446421940d7b41fdaa957952e14bbf65d2d7d2 | |
| parent | b45f9b364382839995c76bc9794bb5ae8fb787b5 [diff] |
IAR: Restore support for CMAKE_CXX_FLAGS_INIT Prior to commit a9073db736 (IAR: update language specification detection, 2021-09-23, v3.22.0-rc1~83^2) the `--c++`/`--eec++` flags were stored in `CMAKE_IAR_CXX_FLAG` so that they would be used as part of the `CMAKE_CXX_COMPILE_OBJECT` rule variable. That commit moved the flags to `CMAKE_CXX_FLAGS`, which also broke initialization of `CMAKE_CXX_FLAGS` from `CMAKE_CXX_FLAGS_INIT`. Restore the original approach. Fixes: #24111