From 1889207631a87bedbf6c47329a8fcde0124d4d2a Mon Sep 17 00:00:00 2001 From: Martin Bark Date: Fri, 21 Feb 2014 13:39:20 +0000 Subject: 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 Cc: Yann E. MORIN Signed-off-by: Peter Korsgaard --- package/tvheadend/tvheadend.mk | 2 -- 1 file changed, 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" \ -- cgit v1.2.3-70-g09d2