Files
poky/meta/recipes-devtools
Zahir Hussain 3a5e8733ef cmake: Unset CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake.

The variable CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES value updates incorrectly
during do_compile the code. Due to this getting sporadic error like below,

fatal error: stdlib.h: No such file or directory
|    75 | #include_next <stdlib.h>
|       |               ^~~~~~~~~~
| compilation terminated.
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.

As cmake already correctly initializes the variable from environment,
So we have to unset it in the toolchain file to avoid overwriting the
variable definition again.

(From OE-Core rev: 2b0b47fd0cafdb9de5025efda4140e11ea447afa)

Signed-off-by: aszh07 <mail2szahir@gmail.com>
Signed-off-by: Zahir Hussain <zahir.basha@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5aeada5793af53e8c93940952d4f314474dca4c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-28 03:32:09 -10:00
..
2023-08-26 04:24:02 -10:00
2023-10-05 15:48:49 -10:00
2021-11-25 21:55:10 +00:00
2022-03-16 10:31:40 +00:00
2022-08-01 16:27:29 +01:00
2022-03-16 13:39:12 +00:00
2023-09-08 16:09:41 -10:00
2024-02-09 03:46:50 -10:00
2023-05-30 04:11:15 -10:00
2021-11-03 10:12:42 +00:00
2022-03-24 17:45:29 +00:00
2023-10-05 15:48:49 -10:00
2022-05-25 22:45:50 +01:00
2022-03-23 12:13:49 +00:00
2022-03-11 06:56:01 +00:00
2022-05-25 22:45:50 +01:00
2022-12-01 19:35:05 +00:00
2022-03-20 00:02:22 +00:00
2023-09-08 16:09:41 -10:00
2021-08-02 15:44:10 +01:00
2023-12-22 16:36:55 -10:00
2023-12-22 16:36:55 -10:00
2023-03-23 22:45:33 +00:00
2023-12-22 16:36:54 -10:00
2022-03-02 18:43:24 +00:00
2023-09-30 09:43:59 -10:00
2022-05-04 13:07:33 +01:00
2021-12-08 20:22:10 +00:00