Index: trunk/kBuild/tools/GCC3.kmk
===================================================================
--- trunk/kBuild/tools/GCC3.kmk	(revision 1314)
+++ trunk/kBuild/tools/GCC3.kmk	(revision 1315)
@@ -223,5 +223,9 @@
 	$(QUIET)$(APPEND) $(out).ar-script 'SAVE'
 	$(QUIET)$(APPEND) $(out).ar-script 'END'
+ifdef KMK_USE_REDIRECT
+	$(QUIET)$(REDIRECT) -rti $(out).ar-script -- $(TOOL_GCC3_AR) -M
+else
 	$(QUIET)$(TOOL_GCC3_AR) -M < $(out).ar-script
+endif
 endef
 
Index: trunk/kBuild/tools/GCC32.kmk
===================================================================
--- trunk/kBuild/tools/GCC32.kmk	(revision 1314)
+++ trunk/kBuild/tools/GCC32.kmk	(revision 1315)
@@ -218,5 +218,9 @@
 	$(QUIET)$(APPEND) $(out).ar-script 'SAVE'
 	$(QUIET)$(APPEND) $(out).ar-script 'END'
+ifdef KMK_USE_REDIRECT
+	$(QUIET)$(REDIRECT) -rti $(out).ar-script -- $(TOOL_GCC32_AR) -M
+else
 	$(QUIET)$(TOOL_GCC32_AR) -M < $(out).ar-script
+endif
 endef
 
Index: trunk/kBuild/tools/GCC64.kmk
===================================================================
--- trunk/kBuild/tools/GCC64.kmk	(revision 1314)
+++ trunk/kBuild/tools/GCC64.kmk	(revision 1315)
@@ -218,5 +218,9 @@
 	$(QUIET)$(APPEND) $(out).ar-script 'SAVE'
 	$(QUIET)$(APPEND) $(out).ar-script 'END'
+ifdef KMK_USE_REDIRECT
+	$(QUIET)$(REDIRECT) -rti $(out).ar-script -- $(TOOL_GCC64_AR) -M
+else
 	$(QUIET)$(TOOL_GCC64_AR) -M < $(out).ar-script
+endif
 endef
 
Index: trunk/kBuild/tools/GXX3.kmk
===================================================================
--- trunk/kBuild/tools/GXX3.kmk	(revision 1314)
+++ trunk/kBuild/tools/GXX3.kmk	(revision 1315)
@@ -223,5 +223,9 @@
 	$(QUIET)$(APPEND) $(out).ar-script 'SAVE'
 	$(QUIET)$(APPEND) $(out).ar-script 'END'
+ifdef KMK_USE_REDIRECT
+	$(QUIET)$(REDIRECT) -rti $(out).ar-script -- $(TOOL_GXX3_AR) -M
+else
 	$(QUIET)$(TOOL_GXX3_AR) -M < $(out).ar-script
+endif
 endef
 
Index: trunk/kBuild/tools/GXX32.kmk
===================================================================
--- trunk/kBuild/tools/GXX32.kmk	(revision 1314)
+++ trunk/kBuild/tools/GXX32.kmk	(revision 1315)
@@ -218,5 +218,9 @@
 	$(QUIET)$(APPEND) $(out).ar-script 'SAVE'
 	$(QUIET)$(APPEND) $(out).ar-script 'END'
+ifdef KMK_USE_REDIRECT
+	$(QUIET)$(REDIRECT) -rti $(out).ar-script -- $(TOOL_GXX32_AR) -M
+else
 	$(QUIET)$(TOOL_GXX32_AR) -M < $(out).ar-script
+endif
 endef
 else
@@ -229,5 +233,9 @@
 	$(QUIET)$(APPEND) $(out).ar-script "SAVE"
 	$(QUIET)$(APPEND) $(out).ar-script "END"
+ifdef KMK_USE_REDIRECT
+	$(QUIET)$(REDIRECT) -rti $(out).ar-script -- $(TOOL_GXX32_AR) -M
+else
 	$(QUIET)$(TOOL_GXX32_AR) -M < $(out).ar-script
+endif
 endef
 endif
Index: trunk/kBuild/tools/GXX64.kmk
===================================================================
--- trunk/kBuild/tools/GXX64.kmk	(revision 1314)
+++ trunk/kBuild/tools/GXX64.kmk	(revision 1315)
@@ -218,5 +218,9 @@
 	$(QUIET)$(APPEND) $(out).ar-script 'SAVE'
 	$(QUIET)$(APPEND) $(out).ar-script 'END'
+ifdef KMK_USE_REDIRECT
+	$(QUIET)$(REDIRECT) -rti $(out).ar-script -- $(TOOL_GXX64_AR) -M
+else
 	$(QUIET)$(TOOL_GXX64_AR) -M < $(out).ar-script
+endif
 endef
 else
@@ -229,5 +233,9 @@
 	$(QUIET)$(APPEND) $(out).ar-script "SAVE"
 	$(QUIET)$(APPEND) $(out).ar-script "END"
+ifdef KMK_USE_REDIRECT
+	$(QUIET)$(REDIRECT) -rti $(out).ar-script -- $(TOOL_GXX64_AR) -M
+else
 	$(QUIET)$(TOOL_GXX64_AR) -M < $(out).ar-script
+endif
 endef
 endif
Index: trunk/kBuild/tools/XGCCAMD64LINUX.kmk
===================================================================
--- trunk/kBuild/tools/XGCCAMD64LINUX.kmk	(revision 1314)
+++ trunk/kBuild/tools/XGCCAMD64LINUX.kmk	(revision 1315)
@@ -202,5 +202,9 @@
 	$(QUIET)$(APPEND) $(out).ar-script 'SAVE'
 	$(QUIET)$(APPEND) $(out).ar-script 'END'
+ifdef KMK_USE_REDIRECT
+	$(QUIET)$(REDIRECT) -rti $(out).ar-script -- $(TOOL_XGCCAMD64LINUX_AR) -M
+else
 	$(QUIET)$(TOOL_XGCCAMD64LINUX_AR) -M < $(out).ar-script
+endif
 endef
 else
@@ -213,5 +217,9 @@
 	$(QUIET)$(APPEND) $(out).ar-script "SAVE"
 	$(QUIET)$(APPEND) $(out).ar-script "END"
+ifdef KMK_USE_REDIRECT
+	$(QUIET)$(REDIRECT) -rti $(out).ar-script -- $(TOOL_XGCCAMD64LINUX_AR) -M
+else
 	$(QUIET)$(TOOL_XGCCAMD64LINUX_AR) -M < $(out).ar-script
+endif
 endef
 endif
