Message ID | 1385721469-18112-1-git-send-email-Vincent.Riera@imgtec.com |
---|---|
State | Accepted |
Commit | cf4ec89bfb0f9ae1ecf37fd070c1e167558ba0d0 |
Headers | show |
>>>>> "Vicente" == Vicente Olivert Riera <Vincent.Riera@imgtec.com> writes: > Remove -Werror from CFLAGS to avoid build failures caused by warnings. > Fixes the following autobuild failure on MIPS64 n32/64: > http://autobuild.buildroot.net/results/6be/6be075726ac6db0a48dd6b535841ada932c9ffbb/ > Reviewed-by: Markos Chandras <markos.chandras@imgtec.com> > Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> tvheadend should really use PRIu64 to print u46's, but ok - It shouldn't use Werror either. Committed, thanks.
diff --git a/package/tvheadend/tvheadend-003-remove-werror.patch b/package/tvheadend/tvheadend-003-remove-werror.patch new file mode 100644 index 0000000..1b0e687 --- /dev/null +++ b/package/tvheadend/tvheadend-003-remove-werror.patch @@ -0,0 +1,15 @@ +tvheadend: remove -Werror from CFLAGS + +Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> + +--- tvheadend-2b649954346aa2e9c81834d500a25c528f31f829/Makefile.orig 2013-11-28 15:52:52.284041848 +0000 ++++ tvheadend-2b649954346aa2e9c81834d500a25c528f31f829/Makefile 2013-11-28 15:53:03.715220194 +0000 +@@ -27,7 +27,7 @@ PROG := $(BUILDDIR)/tvheadend + # Common compiler flags + # + +-CFLAGS += -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations ++CFLAGS += -Wall -Wwrite-strings -Wno-deprecated-declarations + CFLAGS += -Wmissing-prototypes -fms-extensions + CFLAGS += -g -funsigned-char -O2 + CFLAGS += -D_FILE_OFFSET_BITS=64