From 08c8e6d412339bc6a2b661d5fa964d8054592cea Mon Sep 17 00:00:00 2001 From: "K. Noel Belcourt" Date: Fri, 28 Mar 2008 02:10:04 +0000 Subject: [PATCH] Fix address-model support for 32/64 bit code generation. Replaced -mcmodel with -m32 / -m64. [SVN r43900] --- v2/tools/intel-darwin.jam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/tools/intel-darwin.jam b/v2/tools/intel-darwin.jam index 85a7502ca..5efce57e0 100644 --- a/v2/tools/intel-darwin.jam +++ b/v2/tools/intel-darwin.jam @@ -117,8 +117,8 @@ flags intel-darwin.compile OPTIONS space : -O1 ; # no specific spa # cpu-type-em64t = prescott nocona ; -# flags intel-darwin.compile OPTIONS $(cpu-type-em64t)/32 : -mcmodel=small ; -flags intel-darwin.compile OPTIONS $(cpu-type-em64t)/64 : -mcmodel=large ; +flags intel-darwin.compile OPTIONS $(cpu-type-em64t)/32 : -m32; # -mcmodel=small ; +flags intel-darwin.compile OPTIONS $(cpu-type-em64t)/64 : -m64; # -mcmodel=large ; flags intel-darwin.compile.c OPTIONS off : -w0 ; flags intel-darwin.compile.c OPTIONS on : -w1 ;