Files
poky/meta/recipes-devtools
Zahir Hussain aa02dc871f 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: 7ab6087536bc67c63094f08f863dcd3d5e35b8e7)

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-16 03:35:51 -10:00
..
2020-09-17 12:51:24 +01:00
2023-12-29 05:29:14 -10:00
2020-02-03 13:03:31 +00:00
2021-05-20 12:36:42 +01:00
2021-12-08 20:28:01 +00:00
2022-06-24 23:57:45 +01:00
2023-09-29 04:29:01 -10:00
2023-05-25 05:49:26 -10:00
2022-03-31 21:09:33 +01:00
2020-09-10 19:07:40 +01:00
2021-10-23 23:14:17 +01:00
2020-03-08 08:21:11 +00:00
2020-05-22 16:23:23 +01:00
2023-10-04 05:17:51 -10:00
2021-01-09 09:17:17 +00:00
2024-02-16 03:35:51 -10:00
2021-06-03 16:30:56 +01:00
2024-01-21 08:33:19 -10:00
2022-12-23 23:05:44 +00:00
2022-09-23 16:22:59 +01:00
2021-03-18 21:20:24 +00:00