[Buildroot] [PATCH 1/3] package/tvheadend: Rework CFLAGS handling for liburiparser

Yann E. MORIN yann.morin.1998 at free.fr
Sun Dec 7 20:12:27 UTC 2014


Bernd, All,

On 2014-12-06 16:00 +0100, Bernd Kuhls spake thusly:
> Suggested by Thomas:
> http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/100646
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>

Acked-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/tvheadend/tvheadend.mk |    5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk
> index f593b3f..e0ce160 100644
> --- a/package/tvheadend/tvheadend.mk
> +++ b/package/tvheadend/tvheadend.mk
> @@ -32,9 +32,10 @@ ifeq ($(BR2_PACKAGE_LIBICONV),y)
>  TVHEADEND_DEPENDENCIES += libiconv
>  endif
>  
> +TVHEADEND_CFLAGS = $(TARGET_CFLAGS)
>  ifeq ($(BR2_PACKAGE_LIBURIPARSER),y)
>  TVHEADEND_DEPENDENCIES += liburiparser
> -TVHEADEND_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) $(if $(BR2_USE_WCHAR),,-DURI_NO_UNICODE)"
> +TVHEADEND_CFLAGS += $(if $(BR2_USE_WCHAR),,-DURI_NO_UNICODE)
>  endif
>  
>  TVHEADEND_DEPENDENCIES += dtv-scan-tables
> @@ -43,7 +44,7 @@ define TVHEADEND_CONFIGURE_CMDS
>  	(cd $(@D);						\
>  		$(TARGET_CONFIGURE_OPTS)			\
>  		$(TARGET_CONFIGURE_ARGS)			\
> -		$(TVHEADEND_CONF_ENV)				\
> +		CFLAGS="$(TVHEADEND_CFLAGS)"			\
>  		./configure					\
>  			--prefix=/usr				\
>  			--arch="$(ARCH)"			\
> -- 
> 1.7.10.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list