From: Jordan Yelloz Date: Fri, 24 Jun 2016 19:18:45 +0000 (-0700) Subject: extensions: added AR substitution X-Git-Tag: v1.6.1~59 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eca9b91b832dfc27d0e1a6d08e2ce4878f229373;p=thirdparty%2Fiptables.git extensions: added AR substitution This is to ensure that the correct AR is run in cross-compile jobs. Often a cross-compile build will succeed without this change but it fails on my Gentoo Linux system when I have binutils installed with the "multitarget" USE flag. This change substitues AR with the autotools-supplied AR for the extensions subdirectory. Signed-off-by: Jordan Yelloz Signed-off-by: Pablo Neira Ayuso --- diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in index 53be2cdd..33b06efd 100644 --- a/extensions/GNUmakefile.in +++ b/extensions/GNUmakefile.in @@ -11,6 +11,7 @@ libdir = @libdir@ libexecdir = @libexecdir@ xtlibdir = @xtlibdir@ +AR = @AR@ CC = @CC@ CCLD = ${CC} CFLAGS = @CFLAGS@