summaryrefslogtreecommitdiff
path: root/Jamrules.jam
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2011-08-19 05:19:54 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2011-08-19 05:19:54 +0000
commit74f33b1a6c09513626242e6568f40569cd8709fa (patch)
tree12a42aba408010c6111fde87a1ae55f8bcc51d19 /Jamrules.jam
parent8a5144a927fb2659bc80d18620121d99cfcf1edc (diff)
tests: Fixed linking issues on freebsd32 (unresolved __stack_chk_fail_local symbol)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@818 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'Jamrules.jam')
-rw-r--r--Jamrules.jam6
1 files changed, 5 insertions, 1 deletions
diff --git a/Jamrules.jam b/Jamrules.jam
index d14cf6c..e6d21b4 100644
--- a/Jamrules.jam
+++ b/Jamrules.jam
@@ -9,12 +9,16 @@ if ( $(toolset:I=^mingw) || $(toolset:I=^gcc) )
else
{
GCCPATH = "%$(toolset)_PATH%\\bin\\" ;
- LDFLAGS += -static-libgcc -static ;
}
if ( $(OS) != MACOSX )
{
ARCH = "" ;
+
+ if ( $(OS) = NT || $(OS) = FREEBSD )
+ {
+ LDFLAGS += -static-libgcc -static ;
+ }
}
else
{