summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlper Ak <alperyasinak1@gmail.com>2025-06-23 18:56:21 +0300
committerKhem Raj <raj.khem@gmail.com>2025-06-26 07:26:19 -0700
commit3ccd1ffae81a1d2af6308c71d18c09ca44af20ec (patch)
treeed8065e04374d7ea5d4e5573d8ae525daede7a9a
parentfda19bec196fda3898c5ea12f0051ac2f4ea9fc6 (diff)
downloadmeta-openembedded-3ccd1ffae81a1d2af6308c71d18c09ca44af20ec.tar.gz
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>
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb5
1 files changed, 0 insertions, 5 deletions
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
index ff83b6c2ee..c04a1ef8c4 100644
--- a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
+++ b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
@@ -187,8 +187,3 @@ FILES:${PN}-fstools = "\
187" 187"
188 188
189BBCLASSEXTEND = "native" 189BBCLASSEXTEND = "native"
190
191# http://errors.yoctoproject.org/Errors/Details/766881/
192# 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]
193# 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]
194CC += "-Wno-error=incompatible-pointer-types"