2
0
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:
Christopher Currie
2004-06-03 15:14:04 +00:00
parent d5f4e78bb2
commit 4476bbe622

View File

@@ -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) = " " ;