summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2011-07-27 07:21:38 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2011-07-27 07:21:38 +0000
commit0a0c71875d2679623c2a3fc6b3418c472f9bbdc4 (patch)
tree1615afa40d35490a96961210ecd87ce8b28d1422
parent4d605eb865da2f9b973fc6951a176d20cf8b531a (diff)
Fixed gcc building for platforms without statically-linked CRT (only static link on MinGW)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@815 99668b35-9821-0410-8761-19e4c4f06640
-rw-r--r--Jamrules.jam4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jamrules.jam b/Jamrules.jam
index 3ee6d39..d14cf6c 100644
--- a/Jamrules.jam
+++ b/Jamrules.jam
@@ -9,11 +9,11 @@ if ( $(toolset:I=^mingw) || $(toolset:I=^gcc) )
else
{
GCCPATH = "%$(toolset)_PATH%\\bin\\" ;
- }
+ LDFLAGS += -static-libgcc -static ;
+ }
if ( $(OS) != MACOSX )
{
- LDFLAGS += -static-libgcc -static ;
ARCH = "" ;
}
else