Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTetsuo Kiso <tetsuo-s@is.naist.jp>2012-05-13 16:02:27 +0400
committerTetsuo Kiso <tetsuo-s@is.naist.jp>2012-05-13 16:02:27 +0400
commit5c939dc3487c4ba98c9dcf46d8eb2d0e50124632 (patch)
treecc8a48979c10a48556bd07d178d2f287021d5dca /jam-files/sanity.jam
parent6095a36afb9289c7e7f5dfa1707cd873a10211b7 (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/sanity.jam')
-rw-r--r--jam-files/sanity.jam4
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" ] {