toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / iptables / 0003-extensions-added-AR-substitution.patch
blobb522ba747bc1cd1ba129dd28c8a58f8589e53c22
1 From eca9b91b832dfc27d0e1a6d08e2ce4878f229373 Mon Sep 17 00:00:00 2001
2 From: Jordan Yelloz <jordan@yelloz.me>
3 Date: Fri, 24 Jun 2016 12:18:45 -0700
4 Subject: [PATCH] extensions: added AR substitution
6 This is to ensure that the correct AR is run in cross-compile jobs.
7 Often a cross-compile build will succeed without this change but it
8 fails on my Gentoo Linux system when I have binutils installed with the
9 "multitarget" USE flag.
10 This change substitues AR with the autotools-supplied AR for the
11 extensions subdirectory.
13 Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
14 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
15 ---
16 extensions/GNUmakefile.in | 1 +
17 1 file changed, 1 insertion(+)
19 diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in
20 index 53be2cd..33b06ef 100644
21 --- a/extensions/GNUmakefile.in
22 +++ b/extensions/GNUmakefile.in
23 @@ -11,6 +11,7 @@ libdir = @libdir@
24 libexecdir = @libexecdir@
25 xtlibdir = @xtlibdir@
27 +AR = @AR@
28 CC = @CC@
29 CCLD = ${CC}
30 CFLAGS = @CFLAGS@
31 --
32 2.7.4