Files
poky/meta/recipes-devtools
Zahir Hussain da81312c3d 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: 5599eaefee3818c865d71f5b7c3cc04fc01de848)

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-01-16 07:54:08 -10:00
..
2023-06-01 08:05:11 +01:00
2023-07-19 19:37:38 +01:00
2023-07-30 07:54:44 +01:00
2023-09-14 09:19:37 +01:00
2022-11-07 14:32:42 +00:00
2023-05-05 11:07:25 +01:00
2023-09-14 09:19:37 +01:00
2023-09-03 10:34:20 +01:00
2023-05-22 10:53:49 +01:00
2023-08-29 09:41:07 +01:00
2023-09-29 23:11:59 +01:00
2023-09-02 18:23:05 +01:00
2024-01-16 07:54:08 -10:00
2023-09-26 10:35:27 +01:00
2024-01-04 04:09:44 -10:00
2023-05-25 10:29:08 +01:00
2023-09-18 08:53:10 +01:00
2023-09-09 12:04:55 +01:00
2022-03-23 12:13:49 +00:00
2023-11-24 05:01:37 -10:00
2023-06-27 16:23:40 +01:00
2023-03-11 00:08:41 +00:00
2023-10-06 11:51:11 +01:00
2023-09-26 10:35:27 +01:00
2023-09-26 10:35:27 +01:00
2023-04-13 11:56:07 +01:00
2023-01-06 12:03:47 +00:00
2023-06-02 15:16:36 +01:00
2023-12-22 05:23:26 -10:00
2023-12-22 05:23:26 -10:00
2023-09-14 09:19:37 +01:00
2024-01-04 04:09:44 -10:00
2023-12-05 11:51:37 -10:00
2023-09-02 18:23:06 +01:00
2024-01-04 04:09:43 -10:00
2022-04-26 18:25:08 +01:00
2022-12-06 15:23:18 +00:00
2023-09-26 10:35:27 +01:00