From a732329dfe2fd79fd12c59dfc123f07f36c05d55 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 31 Aug 2003 16:29:38 +0000 Subject: [PATCH] Fix AR for when we find more than one in the path. Fix the AR flags so that they don't duplicate/multiply the flag argument. [SVN r19888] --- gcc-tools.jam | 2 +- v1/gcc-tools.jam | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc-tools.jam b/gcc-tools.jam index 70ec6f012..0225e415b 100644 --- a/gcc-tools.jam +++ b/gcc-tools.jam @@ -466,5 +466,5 @@ rule Archive-action actions updated together piecemeal gcc-Archive-action { - $(.AR) ru$(ARFLAGS) "$(<:T)" "$(>:T)" + $(.AR[1]) ru$(ARFLAGS:J=) "$(<:T)" "$(>:T)" } diff --git a/v1/gcc-tools.jam b/v1/gcc-tools.jam index 70ec6f012..0225e415b 100644 --- a/v1/gcc-tools.jam +++ b/v1/gcc-tools.jam @@ -466,5 +466,5 @@ rule Archive-action actions updated together piecemeal gcc-Archive-action { - $(.AR) ru$(ARFLAGS) "$(<:T)" "$(>:T)" + $(.AR[1]) ru$(ARFLAGS:J=) "$(<:T)" "$(>:T)" }