summaryrefslogtreecommitdiff
path: root/Jamrules.jam
diff options
context:
space:
mode:
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
{