From f8179496c7fdab6ba9877cef3715fafce4a575b2 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Fri, 11 Jun 2010 07:30:36 +0000 Subject: tests: Added SunCC x64 support git-svn-id: http://pugixml.googlecode.com/svn/trunk@510 99668b35-9821-0410-8761-19e4c4f06640 --- Jamrules.jam | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Jamrules.jam') 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) ; } -- cgit v1.2.3