Ticket #7253: BoostBuild-AsmRsp.patch
File BoostBuild-AsmRsp.patch, 1.5 KB (added by , 10 years ago) |
---|
-
msvc.jam
311 311 # -Cp preserve case of user identifiers 312 312 # -Cx preserve case in publics, externs 313 313 # 314 actions compile.asm 314 rule compile.asm ( targets + : sources * : properties * ) 315 315 { 316 $(.ASM) -c -Zp4 -Cp -Cx -D$(DEFINES) $(ASMFLAGS) $(USER_ASMFLAGS) -Fo "$(<:W)" "$(>:W)" 316 get-rspline $(targets) : "-Zp4 -Cp -Cx" ; 317 compile-asm $(targets) : $(sources) ; 317 318 } 318 319 320 actions compile-asm 321 { 322 $(.ASM) @"@($(<[1]:W).rsp:E=$(ASM_RSPLINE) -Fo"$(<[1]:W)" $(>[1]:W)")" 323 } 319 324 325 320 326 rule compile.c ( targets + : sources * : properties * ) 321 327 { 322 328 C++FLAGS on $(targets[1]) = ; … … 1054 1060 CC_RSPLINE on $(target) = [ on $(target) return $(lang-opt) -U$(UNDEFS) 1055 1061 $(CFLAGS) $(C++FLAGS) $(OPTIONS) -c $(.nl)-D$(DEFINES) 1056 1062 $(.nl)\"-I$(INCLUDES:W)\" ] ; 1063 1064 ASM_RSPLINE on $(target) = [ on $(target) return $(lang-opt) 1065 $(ASMFLAGS) $(USER_ASMFLAGS) -c $(.nl)-D$(DEFINES) ] ; 1057 1066 } 1058 1067 1059 1068 class msvc-linking-generator : linking-generator … … 1239 1248 toolset.flags msvc.compile.asm ASMFLAGS <warnings>all : /W4 ; 1240 1249 toolset.flags msvc.compile.asm ASMFLAGS <warnings-as-errors>on : /WX ; 1241 1250 1242 toolset.flags msvc.compile.asm DEFINES <define> ;1243 1244 1251 # Declare flags for linking. 1245 1252 { 1246 1253 toolset.flags msvc.link PDB_LINKFLAG <debug-symbols>on/<debug-store>database : /PDB: ; # not used yet