tvheadend: fix error compiling with ccache
authorMartin Bark <martin@barkynet.com>
Fri, 21 Feb 2014 13:39:20 +0000 (13:39 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 21 Feb 2014 20:57:46 +0000 (21:57 +0100)
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>
package/tvheadend/tvheadend.mk

index 43bc382d893b3d32c2cfa8ac9d50dae9ca27aa82..85240a020aa0c74a7b7f0871b7cf9184426cc8b7 100644 (file)
@@ -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"  \