Update of /cvsroot/boost/boost/tools/build/v2/tools
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26245
Modified Files:
sun.jam
Log Message:
On Sun, always link to the 'rt' library.
Index: sun.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/sun.jam,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- sun.jam 11 Apr 2006 06:00:58 -0000 1.15
+++ sun.jam 8 Jun 2006 05:05:05 -0000 1.16
@@ -29,7 +29,11 @@
command = [ common.get-invocation-command sun : CC
: $(command) : "/opt/SUNWspro/bin" ] ;
-
+
+ # Even if the real compiler is not found, put CC to
+ # command line so that user see command line that would have being
executed.
+ command ?= CC ;
+
common.handle-options sun : $(condition) : $(command) : $(options) ;
command_c = $(command[1--2]) $(command[-1]:B=cc) ;
@@ -84,6 +88,9 @@
# it, even though it's bad idea.
flags sun.link RPATH <xdll-path> ;
+# The POSIX real-time library is always needed (nanosleep, clock_gettime etc.)
+flags sun.link FINDLIBS-SA : rt ;
+
rule link ( targets * : sources * : properties * )
{
SPACE on $(targets) = " " ;
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs