mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 14:25:53 +01:00
android-tools: Drop workaround flag for incompatible pointer types
- The build completes successfully without adding the flag. In fact, the flag is never actually added. Because: If we use the += operator to add flags to the CC variable early in the recipe, changes will be overwritten because BitBake applies class assignments to CC at a later stage, which replaces any previous modifications. We should use :append to ensure that additions are applied to the final value, after all assignments from core classes have been processed. - Additionally, the standard way to pass compiler flags in C projects is to use CFLAGS. Signed-off-by: Alper Ak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
fda19bec19
commit
3ccd1ffae8
|
|
@ -187,8 +187,3 @@ FILES:${PN}-fstools = "\
|
|||
"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/766881/
|
||||
# android-tools/5.1.1.r37/git/system/core/adb/adb_auth_host.c:86:23: error: passing argument 2 of 'RSA_get0_key' from incompatible pointer type [-Wincompatible-pointer-types]
|
||||
# android-tools/5.1.1.r37/git/system/core/adb/adb_auth_host.c:86:27: error: passing argument 3 of 'RSA_get0_key' from incompatible pointer type [-Wincompatible-pointer-types]
|
||||
CC += "-Wno-error=incompatible-pointer-types"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user