mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Force pgi to always link rt lib, ugh.
[SVN r44747]
This commit is contained in:
@@ -43,7 +43,8 @@ rule init ( version ? : command * : options * )
|
||||
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 OPTIONS <link>shared : -fpic ;
|
||||
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 ;
|
||||
|
||||
Reference in New Issue
Block a user