diff options
author | Kenneth Heafield <github@kheafield.com> | 2012-05-10 21:15:12 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2012-05-10 21:15:12 +0400 |
commit | c7f18473aa5a43064ea23f6f9348bd73422a2688 (patch) | |
tree | a6ab4372a78480efa00a5cf632f10befbfb57b21 /jam-files | |
parent | 947a17aa4c5af94e8d83ac2f4e9931b8c3d311ba (diff) |
Force shared linkage with clang.
Diffstat (limited to 'jam-files')
-rw-r--r-- | jam-files/sanity.jam | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jam-files/sanity.jam b/jam-files/sanity.jam index 311ed1482..29d97eca7 100644 --- a/jam-files/sanity.jam +++ b/jam-files/sanity.jam @@ -138,7 +138,8 @@ requirements = ; local cflags = [ os.environ "CFLAGS" ] ; local ldflags = [ os.environ "LDFLAGS" ] ; - requirements += <cxxflags>$(cxxflags) <cflags>$(cflags) <linkflags>$(ldflags) <os>LINUX,<link>static,<toolset>clang:<linkflags>-static ; + #Boost jam's static clang is buggy. + requirements += <cxxflags>$(cxxflags) <cflags>$(cflags) <linkflags>$(ldflags) <toolset>clang:<link>shared ; #libSegFault prints a stack trace on segfault. Link against it if available. if [ test_flags "-lSegFault" ] { |