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
This commit is contained in:
arseny.kapoulkine 2011-08-19 05:19:54 +00:00
parent 8a5144a927
commit 74f33b1a6c

View File

@ -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
{