diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2014-12-06 16:00:31 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-12-07 21:22:28 +0100 |
commit | 4fb2cc3b1614a8e4e7b1542240b559f2283cb195 (patch) | |
tree | 2aeefa90255b4e55e8f6093ef5b50139cb3aa4da /package/tvheadend | |
parent | 40a53388ea297308dbfd2397f71c935bc0515a49 (diff) |
package/tvheadend: Rework CFLAGS handling for liburiparser
Suggested by Thomas:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/100646
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/tvheadend')
-rw-r--r-- | package/tvheadend/tvheadend.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/tvheadend/tvheadend.mk b/package/tvheadend/tvheadend.mk index f593b3f00..e0ce160a1 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)" \ |