Florian Fainelli 484f768dfa elfutils: Pass -Wno-unused-result to silence warnings as errors
elfutils turns on -Werror by default, and patch 100-musl-compat.patch
changes how strerror_r is used and we no longer use the function's
return value. This causes the following build error/warning to occur
with glibc-based toolchains:

dwfl_error.c: In function 'dwfl_errmsg':
dwfl_error.c:158:18: error: ignoring return value of 'strerror_r',
declared with attribute warn_unused_result [-Werror=unused-result]
       strerror_r (error & 0xffff, s, sizeof(s));
                  ^
cc1: all warnings being treated as errors

Fixing this would be tricky as there are two possible signatures for
strerror_r (XSI and GNU), just turn off unused-result warnings instead.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-05-26 15:42:03 -07:00
..
2017-01-03 14:24:33 +01:00
2016-12-16 22:39:22 +01:00
2016-12-16 22:39:22 +01:00
2017-05-16 17:22:58 +02:00
2017-03-16 11:28:28 +01:00
2017-03-22 09:16:23 +01:00
2017-02-24 15:32:47 -05:00
2017-05-22 11:07:40 +08:00
2017-01-03 14:24:33 +01:00
2017-03-20 08:25:49 +01:00
2017-03-13 20:04:32 +01:00
2016-12-16 22:39:22 +01:00
2017-03-22 09:16:23 +01:00
2016-12-16 22:39:22 +01:00
2017-05-11 13:42:55 -07:00
2017-01-02 21:06:13 +01:00
2017-01-16 19:52:07 +01:00