diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-02-28 19:21:09 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-02 16:49:07 +0000 |
commit | 3dd005248f56aa774631d6bb868b1f7328d57f3c (patch) | |
tree | 382a872fc21f40bc3402093575765c3dc3baa40f /scripts/postinst-intercepts | |
parent | 36754fed127bf2a5b91bbebe5a4c8c350a13c755 (diff) | |
download | poky-3dd005248f56aa774631d6bb868b1f7328d57f3c.tar.gz |
glibc: Disable Werror when building with debug options
Since compiler does not optimize away a lot of stuff we end up with
Werrors e.g.
./sysdeps/ieee754/flt-32/s_log1pf.c: In function '__log1pf':
../sysdeps/ieee754/flt-32/s_log1pf.c:114:22: error: 'c' may be used uninitialized in this function [-Werror=maybe-uninitialized]
114 | + (k * ln2_lo + c))) - f);
| ~~~~~~~~~~~~^~~~
which otherwise wont happen, so lets build with warnings-as-errors
disabled in debug mode
given we disable werror, now we don't have to restrict user to compile
without -O0
(From OE-Core rev: 9772eaafc1cb5957661d43e8f76c6f9b07b854dc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/postinst-intercepts')
0 files changed, 0 insertions, 0 deletions