package/babeltrace2: disable -Werror
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 12 Sep 2020 18:57:54 +0000 (20:57 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 13 Sep 2020 13:48:45 +0000 (15:48 +0200)
commitce02de0eed616c4e4032e07315729cbca0fda706
tree605fb71d0d21e29d022396929c937fea5469a084
parent6e61a4ce04fee1613eea9b703348c15906de9013
package/babeltrace2: disable -Werror

Add an upstream patch that disable -Werror to avoid the following build
failure:

lttng-live.c: In function 'lttng_live_msg_iter_next':
lttng-live.c:1226:15: error: 'stream_iter' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     int ret = common_muxing_compare_messages(
               ^
lttng-live.c:1198:38: note: 'stream_iter' was declared here
   struct lttng_live_stream_iterator *stream_iter;
                                      ^
lttng-live.c: At top level:
cc1: error: unrecognized command line option '-Wno-cast-function-type' [-Werror]
cc1: all warnings being treated as errors

Fixes:
 - http://autobuild.buildroot.org/results/ff41326f913e71f982b3d5cbaf054f8be47913aa

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/babeltrace2/0001-configure-simplify-warning-flags-detection.patch [new file with mode: 0644]
package/babeltrace2/babeltrace2.mk