mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-13 22:05:27 +01:00
- 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> |
||
|---|---|---|
| .. | ||
| android-tools | ||
| android-tools-conf | ||
| android-tools-conf-configfs | ||
| android-tools_5.1.1.r37.bb | ||
| android-tools-conf_1.0.bb | ||
| android-tools-conf-configfs_1.0.bb | ||