edk2-firmware: Respect RECIPE_SYSROOT
This is particularly useful to make sure the compiler uses the recipe
sysroot for headers avoiding host contaminations like:
| opts-GCC.h:42:
| /usr/include/stdint.h:26:10: fatal error: 'bits/libc-header-start.h'
file not found
| #include <bits/libc-header-start.h>
Signed-off-by:
Andrei Gherzan <andrei.gherzan@huawei.com>
parent
93e34373
No related branches found
No related tags found
Showing
- meta-oniro-staging/recipes-bsp/uefi/edk2-firmware/0001-Respect-BUILD_CFLAGS-in-GCC_ALL_CC_FLAGS.patch 27 additions, 0 deletions...mware/0001-Respect-BUILD_CFLAGS-in-GCC_ALL_CC_FLAGS.patch
- meta-oniro-staging/recipes-bsp/uefi/edk2-firmware_%.bbappend 9 additions, 0 deletionsmeta-oniro-staging/recipes-bsp/uefi/edk2-firmware_%.bbappend
Please register or sign in to comment