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:32:37 +0000 |
commit | 9d72015e3458c78a9f0d20ad3dc27c8a9bb1069c (patch) | |
tree | b6222f81e6c8bb459fa21202130c67397edd2b8d /meta/classes/debian.bbclass | |
parent | 18b3f229ab4c730936e3cf2b700a269920e2ec71 (diff) | |
download | openembedded-core-9d72015e3458c78a9f0d20ad3dc27c8a9bb1069c.tar.gz openembedded-core-9d72015e3458c78a9f0d20ad3dc27c8a9bb1069c.tar.bz2 openembedded-core-9d72015e3458c78a9f0d20ad3dc27c8a9bb1069c.zip |
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).
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/debian.bbclass')
0 files changed, 0 insertions, 0 deletions