Ivan Grokhotkov 7a298f98ae
cmake: fix the linker type check for --whole-archive option
Checking that the host is macOS is not sufficient here, since the
linker is still a GNU linker when cross-compiling for a chip.
Instead, use the linker_type variable introduced in the previous
commit.
2022-11-21 13:08:05 +01:00
..
2022-11-08 17:05:33 +08:00
2022-11-08 17:05:33 +08:00