|
Boost-Build : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2002-09-20 08:16:38
Hi,
I'm terribly sorry but I have another important patch for
"vacpp-tools.jam". The things that changed are:
- Added missing support for library-path, library-file and find-library.
Those flags have been missing up to now, making linking to external
libraries quite difficult. :-)
- Reordered some flags to keep things together that belong together.
Markus
--------------020009080704040703070507 Content-Type: text/plain;
name="vacpp-tools.jam.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="vacpp-tools.jam.diff"
*** vacpp-tools.jam.~1.11.~ Thu Sep 19 19:18:49 2002
--- vacpp-tools.jam Fri Sep 20 15:08:51 2002
***************
*** 24,29 ****
--- 24,33 ----
flags vacpp C++FLAGS : -qnotempinc ;
+ # The following is needed to get rid of most of the annoying linker warnings
+ # about duplicated symbols when you use templates.
+ flags vacpp C++FLAGS : -qstaticinline -qfuncsect ;
+
flags vacpp CFLAGS <optimization>off : -qNOOPTimize ;
flags vacpp CFLAGS <optimization>default : -O ;
flags vacpp CFLAGS <optimization>speed : -O3 -qstrict ;
***************
*** 33,41 ****
flags vacpp CFLAGS <inlining>on : -qinline ;
flags vacpp CFLAGS <inlining>full : -qinline ;
- # The following is needed to get rid of most of the annoying linker warnings
- # about duplicated symbols when you use templates.
- flags vacpp C++FLAGS : -qstaticinline -qfuncsect ;
flags vacpp C++FLAGS <exception-handling>off : -qnoeh ;
flags vacpp C++FLAGS <exception-handling>on : -qeh ;
--- 37,42 ----
***************
*** 58,63 ****
--- 59,68 ----
flags vacpp STDHDRS <sysinclude> ;
flags vacpp LINKFLAGS <linkflags> ;
flags vacpp ARFLAGS <arflags> ;
+
+ flags vacpp LIBPATH <library-path> ;
+ flags vacpp NEEDLIBS <library-file> ;
+ flags vacpp FINDLIBS <find-library> ;
if ! $(ARFLAGS)
{
--------------020009080704040703070507--
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk