commit | e13f2a4ca6cfd11d80c44080d370597ec875a1b1 | [log] [tgz] |
---|---|---|
author | Kevin Townsend <kevin@ktownsend.com> | Fri May 21 01:45:49 2021 +0200 |
committer | Kevin Townsend <kevin@ktownsend.com> | Fri May 21 01:45:49 2021 +0200 |
tree | 153fe5e5152c09faf4746171c8cc818c38555448 | |
parent | cd3f3caf3a5bbb543af2206056668422f4e135b9 [diff] |
cmake: api-tests: Allow CROSS_COMPILE to set C compiler Cmake currently falls back to the default C compiler on the system, which may not be an appropriate embedded toolchain in every case. This commit checks for a `CROSS_COMPILE` field that can be passed in to indicate the specific GCC cross-compiler to use. If no matching value is found, it defaults to the system C compiler, as was the case previously. Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>