Can libs/regex/build/gcc.mk use $(AR) instead of just "ar"

When cross compiling, I need to use an "ar" with the correct target and not just "ar". I've patched boost/libs/regex/build/gcc.mk locally as shown in my attachment, but all I really did was replace use of "ar" with $(AR), which I can then override when invoking make. Perhaps this is reasonable to apply to the mainline copy? [BTW, I'm still locally patching iterator/iterator_facade.hpp because of conflicts with system header macros on i386-pc-solaris2.8. That thread seemed to die.] Thanks! -- ------------------------------------------------------------------ Brad Spencer - spencer@infointeractive.com - "It's quite nice..." Systems Architect | InfoInterActive Corp. | A Canadian AOL Company

When cross compiling, I need to use an "ar" with the correct target and not just "ar". I've patched boost/libs/regex/build/gcc.mk locally as shown in my attachment, but all I really did was replace use of "ar" with $(AR), which I can then override when invoking make. Perhaps this is reasonable to apply to the mainline copy?
Done, thanks, John.
[BTW, I'm still locally patching iterator/iterator_facade.hpp because of conflicts with system header macros on i386-pc-solaris2.8. That thread seemed to die.]
Thanks!
-- ------------------------------------------------------------------ Brad Spencer - spencer@infointeractive.com - "It's quite nice..." Systems Architect | InfoInterActive Corp. | A Canadian AOL Company
---------------------------------------------------------------------------- ----
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Brad Spencer
-
John Maddock