diff mbox

[v2,1/1] iptables: exported AR=$(TARGET_AR) to make

Message ID 20160613031340.30120-1-jordan@yelloz.me
State Accepted
Headers show

Commit Message

Jordan Yelloz June 13, 2016, 3:13 a.m. UTC
This ensures the correct AR is used for some of the iptables build
process. This is the same fix as
<https://bugs.gentoo.org/show_bug.cgi?id=444282>

Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
---
 package/iptables/iptables.mk | 1 +
 1 file changed, 1 insertion(+)

Comments

Thomas Petazzoni July 5, 2016, 1:03 p.m. UTC | #1
Hello,

On Sun, 12 Jun 2016 20:13:40 -0700, Jordan Yelloz wrote:
> This ensures the correct AR is used for some of the iptables build
> process. This is the same fix as
> <https://bugs.gentoo.org/show_bug.cgi?id=444282>
> 
> Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
> ---
>  package/iptables/iptables.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk
> index 12e00f2..b9feaf5 100644
> --- a/package/iptables/iptables.mk
> +++ b/package/iptables/iptables.mk
> @@ -17,6 +17,7 @@ IPTABLES_CONF_OPTS = --libexecdir=/usr/lib --with-kernel=$(STAGING_DIR)/usr \
>  	$(if $(BR2_STATIC_LIBS),,--disable-static)
>  # For 0002-iptables-add-xtables-config-parser.h-to-BUILT_SOURCES.patch
>  IPTABLES_AUTORECONF = YES
> +IPTABLES_MAKE_ENV = AR=$(TARGET_AR)

Instead of this fix, I've backported the patch you have submitted
upstream and which has been merged. See:

   https://git.buildroot.org/buildroot/commit/?id=bcfe05a7e9ce49bcc447fd956f52da0032f534e6

Thanks,

Thomas
diff mbox

Patch

diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk
index 12e00f2..b9feaf5 100644
--- a/package/iptables/iptables.mk
+++ b/package/iptables/iptables.mk
@@ -17,6 +17,7 @@  IPTABLES_CONF_OPTS = --libexecdir=/usr/lib --with-kernel=$(STAGING_DIR)/usr \
 	$(if $(BR2_STATIC_LIBS),,--disable-static)
 # For 0002-iptables-add-xtables-config-parser.h-to-BUILT_SOURCES.patch
 IPTABLES_AUTORECONF = YES
+IPTABLES_MAKE_ENV = AR=$(TARGET_AR)
 
 # For connlabel match
 ifeq ($(BR2_PACKAGE_LIBNETFILTER_CONNTRACK),y)