2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00

Fix address-model support for 32/64 bit code generation.

Replaced -mcmodel with -m32 / -m64.



[SVN r43900]
This commit is contained in:
K. Noel Belcourt
2008-03-28 02:10:04 +00:00
parent dfe0e931f8
commit 08c8e6d412

View File

@@ -117,8 +117,8 @@ flags intel-darwin.compile OPTIONS <optimization>space : -O1 ; # no specific spa
#
cpu-type-em64t = prescott nocona ;
# flags intel-darwin.compile OPTIONS <instruction-set>$(cpu-type-em64t)/<address-model>32 : -mcmodel=small ;
flags intel-darwin.compile OPTIONS <instruction-set>$(cpu-type-em64t)/<address-model>64 : -mcmodel=large ;
flags intel-darwin.compile OPTIONS <instruction-set>$(cpu-type-em64t)/<address-model>32 : -m32; # -mcmodel=small ;
flags intel-darwin.compile OPTIONS <instruction-set>$(cpu-type-em64t)/<address-model>64 : -m64; # -mcmodel=large ;
flags intel-darwin.compile.c OPTIONS <warnings>off : -w0 ;
flags intel-darwin.compile.c OPTIONS <warnings>on : -w1 ;