summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Bark <martin@barkynet.com>2014-02-21 13:39:20 +0000
committerPeter Korsgaard <peter@korsgaard.com>2014-02-21 21:57:46 +0100
commit1889207631a87bedbf6c47329a8fcde0124d4d2a (patch)
tree1cf7ef7b209a1a5a719cc3496689a848ca4a6e2d
parentf7d43f93bb7bec840506cd28faf81e619a0fe28d (diff)
tvheadend: fix error compiling with ccache
The tvheadend configure script fails to correctly handle spaces in any of the options passed to it. If ccache is used the configure script fails to handle the space in the --cc option and errors. Also the --cflags option fails to handle multiple entries and only uses the first one. This patch simple removes setting the --cc and --cflags options as the configure script will correctly use the CC and CFLAGS variables already passed in TARGET_CONFIGURE_OPTS. Signed-off-by: Martin Bark <martin@barkynet.com> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/tvheadend/tvheadend.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
index 43bc382d8..85240a020 100644
--- a/package/tvheadend/tvheadend.mk
+++ b/package/tvheadend/tvheadend.mk
@@ -28,8 +28,6 @@ define TVHEADEND_CONFIGURE_CMDS
$(TARGET_CONFIGURE_ARGS) \
./configure \
--prefix=/usr \
- --cc="$(TARGET_CC)" \
- --cflags="$(TARGET_CFLAGS)" \
--arch="$(ARCH)" \
--cpu="$(BR2_GCC_TARGET_CPU)" \
--python="$(HOST_DIR)/usr/bin/python" \