From c48bd867cf08e11c459f370d9de84a3ce7ded747 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 18 May 2006 10:37:10 +0000 Subject: [PATCH] Stop intel-linux from failing due unknown name of archiver command. [SVN r33997] --- src/tools/gcc.jam | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tools/gcc.jam b/src/tools/gcc.jam index 92f64e0ca..db739eae1 100644 --- a/src/tools/gcc.jam +++ b/src/tools/gcc.jam @@ -399,6 +399,12 @@ actions link bind LIBRARIES "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,$(RPATH_OPTION:E=-R)$(SPACE)-Wl,"$(RPATH)" -Wl,-rpath-link$(SPACE)-Wl,"$(RPATH_LINK)" -o "$(<)" $(START-GROUP) "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS) } +# Default value. Mostly for the sake of intel-linux +# that inherits from gcc, but does not has the same +# logic to set the .AR variable. We can put the same +# logic in intel-linux, but that's hardly worth the trouble +# as on Linux, 'ar' is always available. +.AR = ar ; flags gcc.archive AROPTIONS ;