tvheadend: Fix compilation on GCC8

New string warnings were introduced. Adding -Wno-error to TARGET_CFLAGS
does not work so patch it out.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 9eea417e92)
This commit is contained in:
Rosen Penev
2019-04-30 19:25:07 -07:00
parent 4c1252e9de
commit bc8fc4fb76
2 changed files with 14 additions and 3 deletions
@@ -0,0 +1,13 @@
diff --git a/Makefile b/Makefile
index 8c5e380..baef144 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ PROG := $(BUILDDIR)/tvheadend
#
CFLAGS += -g -O2 -Wunused-result
-CFLAGS += -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations
+#CFLAGS += -Wall -Werror -Wwrite-strings -Wno-deprecated-declarations
CFLAGS += -Wmissing-prototypes
CFLAGS += -fms-extensions -funsigned-char -fno-strict-aliasing
CFLAGS += -D_FILE_OFFSET_BITS=64