summaryrefslogtreecommitdiff
path: root/Jamrules.jam
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-11 07:30:36 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-11 07:30:36 +0000
commitf8179496c7fdab6ba9877cef3715fafce4a575b2 (patch)
tree7d101d29452a7b544ed8e05ba8daab0cef200c55 /Jamrules.jam
parent6e1777619e4b668fdbb5952cd1863283cf539e7c (diff)
tests: Added SunCC x64 support
git-svn-id: http://pugixml.googlecode.com/svn/trunk@510 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'Jamrules.jam')
-rw-r--r--Jamrules.jam13
1 files changed, 13 insertions, 0 deletions
diff --git a/Jamrules.jam b/Jamrules.jam
index a6dbc75..9c6c018 100644
--- a/Jamrules.jam
+++ b/Jamrules.jam
@@ -360,6 +360,17 @@ else if ( $(toolset:I=^bcc) )
}
else if ( $(toolset:I=^suncc) )
{
+ if ( $(toolset:I=_x64) )
+ {
+ ARCH = -m64 ;
+ }
+ else
+ {
+ ARCH = -m32 ;
+ }
+
+ LDFLAGS += $(ARCH) ;
+
rule GetCFlags CONFIG : DEFINES
{
local RESULT = -D$(DEFINES) ;
@@ -380,6 +391,8 @@ else if ( $(toolset:I=^suncc) )
RESULT += -noex ;
}
+ RESULT += $(ARCH) ;
+
return $(RESULT) ;
}