Skip to content

Commit

Permalink
Only pass -static on linux clang.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpu committed May 7, 2012
1 parent ae46b85 commit d59f09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sanity.jam
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ rule reqs ( ) {
local cflags = [ os.environ "CFLAGS" ] ;
local ldflags = [ os.environ "LDFLAGS" ] ;

local ret = <cxxflags>$(cxxflags) <cflags>$(cflags) <linkflags>$(ldflags) <link>static,<toolset>clang:<linkflags>-static ;
local ret = <cxxflags>$(cxxflags) <cflags>$(cflags) <linkflags>$(ldflags) <os>LINUX,<link>static,<toolset>clang:<linkflags>-static ;

#libSegFault prints a stack trace on segfault. Link against it if available.
if [ test_flags "-lSegfault" ] {
Expand Down

0 comments on commit d59f09f

Please sign in to comment.