diff --git a/src/tools/gcc.jam b/src/tools/gcc.jam index 8350e592d..21b265d8a 100644 --- a/src/tools/gcc.jam +++ b/src/tools/gcc.jam @@ -373,10 +373,12 @@ rule setup-address-model ( targets * : sources * : properties * ) { option = -m32 ; } - else + else if $(model) = 64 { option = -m64 ; } + # For darwin, the model can be 32_64. darwin.jam will handle that + # on its own. } OPTIONS on $(targets) += $(option) ; }