mirror of
https://github.com/boostorg/build.git
synced 2026-02-17 13:42:14 +00:00
Add -Op option for msvc compiler.
The option is "Improve float consistency" and without it, we get failure of C++ Boost's numeric/convertion/udt_example_0 test. [SVN r33183]
This commit is contained in:
@@ -582,12 +582,12 @@ rule compile.pch ( targets + : sources * : properties * )
|
||||
# The actions differ only by explicit selection of input language
|
||||
actions compile.c bind PCH_HEADER PCH_FILE
|
||||
{
|
||||
$(.CC) /Zm800 -nologo -TC -U$(UNDEFS) $(CFLAGS) $(USER_CFLAGS) @"@($(<[1]:W).rsp:E=$(nl)"$(>)" $(nl)-D$(DEFINES) $(nl)"-I$(INCLUDES)")" -c -Fo"$(<[1]:W)" -Yu"$(PCH_HEADER:D=)" -Fp"$(PCH_FILE:W)"
|
||||
$(.CC) /Zm800 -nologo -TC -Op -U$(UNDEFS) $(CFLAGS) $(USER_CFLAGS) @"@($(<[1]:W).rsp:E=$(nl)"$(>)" $(nl)-D$(DEFINES) $(nl)"-I$(INCLUDES)")" -c -Fo"$(<[1]:W)" -Yu"$(PCH_HEADER:D=)" -Fp"$(PCH_FILE:W)"
|
||||
}
|
||||
|
||||
actions compile.c++ bind PCH_HEADER PCH_FILE
|
||||
{
|
||||
$(.CC) /Zm800 -nologo -TP -U$(UNDEFS) $(CFLAGS) $(C++FLAGS) $(USER_CFLAGS) @"@($(<[1]:W).rsp:E=$(nl)"$(>)" $(nl)-D$(DEFINES) $(nl)"-I$(INCLUDES)")" -c -Fo"$(<[1]:W)" -Yu"$(PCH_HEADER:D=)" -Fp"$(PCH_FILE:W)"
|
||||
$(.CC) /Zm800 -nologo -TP -Op -U$(UNDEFS) $(CFLAGS) $(C++FLAGS) $(USER_CFLAGS) @"@($(<[1]:W).rsp:E=$(nl)"$(>)" $(nl)-D$(DEFINES) $(nl)"-I$(INCLUDES)")" -c -Fo"$(<[1]:W)" -Yu"$(PCH_HEADER:D=)" -Fp"$(PCH_FILE:W)"
|
||||
}
|
||||
|
||||
actions compile.pch bind PCH_SOURCE
|
||||
|
||||
Reference in New Issue
Block a user