mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 00:52:16 +00:00
Add option to inhibit non-PIC link warning on Solaris
[SVN r23020]
This commit is contained in:
@@ -125,6 +125,12 @@ flags gcc.link LINK-RUNTIME <link-runtime>shared : dynamic ;
|
||||
flags gcc.link RPATH <dll-path> ;
|
||||
flags gcc.link RPATH_LINK <xdll-path> ;
|
||||
|
||||
# This permits shared libraries with non-PIC code on Solaris
|
||||
if [ os.name ] = SOLARIS
|
||||
{
|
||||
flags gcc.link OPTIONS <link>shared : -mimpure-text ;
|
||||
}
|
||||
|
||||
rule link ( targets * : sources * : properties * )
|
||||
{
|
||||
SPACE on $(targets) = " " ;
|
||||
|
||||
Reference in New Issue
Block a user