diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-13 09:31:52 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-24 12:44:06 +0100 |
commit | 9ab9de34670b2adf9b84da627e8cd7041526c458 (patch) | |
tree | 7546e3edb8548646925142cb576f83bb40de5fa8 /meta/recipes-devtools/gcc/gcc/0001-CVE-2021-35465.patch | |
parent | 4cf88bedaa89a77fafaa660f5c2e7c6d8885d2cc (diff) | |
download | poky-master-next.tar.gz |
native/nativesdk: Stop overriding unprefixed *FLAGS variablesmaster-next
We're currently encouraging an "arms race" with the FLAGS variables since
a recipe might want to set a specific flag for all variants but to do so,
+= won't work due to the assignment in the native/nativesdk class files. This
means recipes are using append.
Since the default variables are constructed out of TARGET_XXX variables and
we redefine these, there is no need to re-define the un-prefixed variables. If
we drop that, the += appends and similar work and recipes don't have to resort
to append.
Change the classes and cleanup a number of recipes to adapt to the change. This
change will result in some flags appearing to some native/nativesdk variants
but that is probably what was originally expected anyway.
(From OE-Core rev: 81f9a114f39bc25141e1fedae278b3efcfee8e99)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc/0001-CVE-2021-35465.patch')
0 files changed, 0 insertions, 0 deletions