From 74f33b1a6c09513626242e6568f40569cd8709fa Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Fri, 19 Aug 2011 05:19:54 +0000 Subject: 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 --- Jamrules.jam | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3