|
Boost-Commit : |
From: kbelco_at_[hidden]
Date: 2008-04-24 00:58:28
Author: noel_belcourt
Date: 2008-04-24 00:58:27 EDT (Thu, 24 Apr 2008)
New Revision: 44747
URL: http://svn.boost.org/trac/boost/changeset/44747
Log:
Force pgi to always link rt lib, ugh.
Text files modified:
trunk/tools/build/v2/tools/pgi.jam | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/tools/build/v2/tools/pgi.jam
==============================================================================
--- trunk/tools/build/v2/tools/pgi.jam (original)
+++ trunk/tools/build/v2/tools/pgi.jam 2008-04-24 00:58:27 EDT (Thu, 24 Apr 2008)
@@ -43,7 +43,8 @@
flags pgi.link FINDLIBS-ST : [
feature.get-values <find-static-library> : $(options) ] : unchecked ;
- flags pgi.link FINDLIBS-SA : [
+ # always link lib rt to resolve clock_gettime()
+ flags pgi.link FINDLIBS-SA : rt [
feature.get-values <find-shared-library> : $(options) ] : unchecked ;
gcc.init-link-flags pgi gnu $(condition) ;
@@ -100,7 +101,6 @@
flags pgi.link LINKPATH <library-path> ;
flags pgi.link FINDLIBS-ST <find-static-library> ;
flags pgi.link FINDLIBS-SA <find-shared-library> ;
-flags pgi.link FINDLIBS-SA <threading>single : rt ;
flags pgi.link FINDLIBS-SA <threading>multi : pthread rt ;
flags pgi.link LIBRARIES <library-file> ;
flags pgi.link LINK-RUNTIME <runtime-link>static : static ;
Boost-Commit 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