Ticket #21408: patch_gcc_jam.diff

File patch_gcc_jam.diff, 1.1 KB (added by Veence (Vincent), 15 years ago)
  • gcc.jam

    old new  
    371371        {
    372372            if $(model) = 32
    373373            {
    374                 option = -m32 ;
     374#                option = -m32 ;
    375375            }
    376376            else
    377377            {
    378                 option = -m64 ;
     378#                option = -m64 ;
    379379            }
    380380        }
    381381        OPTIONS on $(targets) += $(option) ;
     
    408408
    409409actions compile.c++.pch
    410410{
    411     "$(CONFIG_COMMAND)" -x c++-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
     411    "$(CONFIG_COMMAND)" -x c++-header $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
    412412}
    413413
    414414rule compile.c.pch ( targets * : sources * : properties * )
     
    420420
    421421actions compile.c.pch
    422422{
    423     "$(CONFIG_COMMAND)" -x c-header $(OPTIONS) $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
     423    "$(CONFIG_COMMAND)" -x c-header $(USER_OPTIONS) -D$(DEFINES) -I"$(INCLUDES)" -c -o "$(<)" "$(>)"
    424424}
    425425
    426426rule compile.c++ ( targets * : sources * : properties * )