diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-02-24 14:39:33 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:33:02 +0000 |
commit | 77cfa2bcd797ec0b4f9d4c5ae8346efb07a67165 (patch) | |
tree | 5e368c6d143c9897aff62015c77afbf30059d595 /meta-yocto | |
parent | 04c4719012715a3c26e8dadaea8bfc8a3175234f (diff) | |
download | poky-77cfa2bcd797ec0b4f9d4c5ae8346efb07a67165.tar.gz |
glibc.inc: improve optimisation level sanity checking
- Avoid code duplication to handle -O, -O1 and -Os cases
- Consider the effective optimisation level only (avoids spurious
warnings if multiple optimisation flags are present).
- Prefix warnings with PN instead of hardcoding "glibc" (avoids
confusing warnings since the test is also applied to glibc-initial,
nativesdk-glibc, nativesdk-glibc-initial, etc, and each could
potentually have different optimisation flags).
(From OE-Core rev: 9d72015e3458c78a9f0d20ad3dc27c8a9bb1069c)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto')
0 files changed, 0 insertions, 0 deletions