diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-05-13 16:02:27 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-05-13 16:02:27 +0400 |
commit | 5252ca94d0f63b31367391026a0031630767b752 (patch) | |
tree | cc8a48979c10a48556bd07d178d2f287021d5dca /jam-files | |
parent | db445d92f818ceaa3f66a62ecf9728f358b35aa9 (diff) |
Force shared linkage only for clang-linux.
bjam's support for clang on Linux is buggy.
The support for clang on Darwin (Mac OS X) looks fine.
Diffstat (limited to 'jam-files')
-rw-r--r-- | jam-files/sanity.jam | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jam-files/sanity.jam b/jam-files/sanity.jam index 29d97eca7..7b93cf36f 100644 --- a/jam-files/sanity.jam +++ b/jam-files/sanity.jam @@ -138,8 +138,8 @@ requirements = ; local cflags = [ os.environ "CFLAGS" ] ; local ldflags = [ os.environ "LDFLAGS" ] ; - #Boost jam's static clang is buggy. - requirements += <cxxflags>$(cxxflags) <cflags>$(cflags) <linkflags>$(ldflags) <toolset>clang:<link>shared ; + #Boost jam's static clang for Linux is buggy. + requirements += <cxxflags>$(cxxflags) <cflags>$(cflags) <linkflags>$(ldflags) <os>LINUX,<toolset>clang:<link>shared ; #libSegFault prints a stack trace on segfault. Link against it if available. if [ test_flags "-lSegFault" ] { |