From 0a0c71875d2679623c2a3fc6b3418c472f9bbdc4 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Wed, 27 Jul 2011 07:21:38 +0000 Subject: 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 --- Jamrules.jam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Jamrules.jam') 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 -- cgit v1.2.3