From: Martin Bark Date: Fri, 21 Feb 2014 13:39:20 +0000 Subject: [Buildroot] [PATCH 1/2] tvheadend: fix error compiling with ccache Message-ID: <1392989961-18289-1-git-send-email-martin@barkynet.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 Cc: Yann E. MORIN --- package/tvheadend/tvheadend.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk index 43bc382..85240a0 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" \ -- 1.7.9.5