diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-12-30 19:02:53 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-12-30 19:02:53 +0000 |
commit | 72fa0dca9df8abdfde5af95f12e229ab7ec3344d (patch) | |
tree | 5846431c64f8380a840b0a44a97ce6fdd933f7b4 | |
parent | Modern LTO options (diff) | |
download | netfs-72fa0dca9df8abdfde5af95f12e229ab7ec3344d.tar.bz2 netfs-72fa0dca9df8abdfde5af95f12e229ab7ec3344d.tar.xz netfs-72fa0dca9df8abdfde5af95f12e229ab7ec3344d.zip |
Pass fPIC only to gcc and clang
-rw-r--r-- | netfs/lib/Jamfile.jam | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/netfs/lib/Jamfile.jam b/netfs/lib/Jamfile.jam index e1199a8..b3a3285 100644 --- a/netfs/lib/Jamfile.jam +++ b/netfs/lib/Jamfile.jam @@ -5,7 +5,8 @@ lib netfs-common : <link>static <use>..//adhocutil/<link>shared <implicit-dependency>../ice//netfs-api/<link>shared - <cxxflags>-fPIC + <toolset>gcc:<cxxflags>-fPIC + <toolset>clang:<cxxflags>-fPIC : : <include>. <library>../ice//netfs-api/<link>shared |