tvheadend: fix error compiling with ccache
PATCH 1/2 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.
--- package/tvheadend/tvheadend.mk | 2 -- 1 file changed, 2 deletions(-)
package/tvheadend/tvheadend.mk +0 -2
@@ -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" \
Signature · 1 line
1.7.9.5
PATCH 1/2 tvheadend: fix error compiling with ccache
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Martin" == Martin Bark <[email protected]> writes:
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.
Quoted 2 lines
Signed-off-by Martin Bark <[email protected]>Cc Yann E. MORIN <[email protected]>
Committed, thanks.
Is there supposed to be a patch 2/2 somewhere?
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/2 tvheadend: fix error compiling with ccache
Peter,
Quoted 10 lines · Peter Korsgaard
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Martin" == Martin Bark <[email protected]> writes:
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.
Quoted 7 lines
Quoted 2 lines
Signed-off-by Martin Bark <[email protected]>Cc Yann E. MORIN <[email protected]>Committed, thanks.
Is there supposed to be a patch 2/2 somewhere?
Thanks. I was going to submit a 2nd patch to bump the version but then decided against it because i got confused. The tvheadend version numbers seem a mess.
Martin