netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] extensions: added AR substitution
@ 2016-06-24 19:18 Jordan Yelloz
  2016-07-01 14:31 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Jordan Yelloz @ 2016-06-24 19:18 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Jordan Yelloz

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>
---
 extensions/GNUmakefile.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in
index 53be2cdd0ebd..33b06efd15c2 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@
-- 
2.9.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] extensions: added AR substitution
  2016-06-24 19:18 [PATCH 1/1] extensions: added AR substitution Jordan Yelloz
@ 2016-07-01 14:31 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2016-07-01 14:31 UTC (permalink / raw)
  To: Jordan Yelloz; +Cc: netfilter-devel

On Fri, Jun 24, 2016 at 12:18:45PM -0700, Jordan Yelloz wrote:
> 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.

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-01 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-24 19:18 [PATCH 1/1] extensions: added AR substitution Jordan Yelloz
2016-07-01 14:31 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).