Skip to contentSkip to conversation

tvheadend: remove -Werror from CFLAGS

PATCH New Vicente Olivert Riera 2 participants 2 messages Nov 29, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tvheadend: remove -Werror from CFLAGS

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/

---
 .../tvheadend/tvheadend-003-remove-werror.patch    |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 package/tvheadend/tvheadend-003-remove-werror.patch
package/tvheadend/tvheadend-003-remove-werror.patch new file +15 -0
new file mode 100644
index 0000000..1b0e687
@@ -0,0 +1,15 @@
+tvheadend: remove -Werror from CFLAGS
+
+Signed-off-by: Vicente Olivert Riera <[email protected]>
+
+--- 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
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 tvheadend: remove -Werror from CFLAGS

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> 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/

tvheadend should really use PRIu64 to print u46's, but ok - It shouldn't use Werror either. Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard