summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Yelloz <jordan@yelloz.me>2016-06-24 12:18:45 -0700
committerPablo Neira Ayuso <pablo@netfilter.org>2016-07-01 16:30:53 +0200
commiteca9b91b832dfc27d0e1a6d08e2ce4878f229373 (patch)
tree070f88ebbac81896fe54f073f47a4c5e49bb7a92
parent7070b1f3c88a0c3d4e315c00cca61f05b0fbc882 (diff)
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 <jordan@yelloz.me> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--extensions/GNUmakefile.in1
1 files changed, 1 insertions, 0 deletions
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@