Update:
Now, I use
using msvc : 14.0 : : <compileflags>/O1 ;
in my project-config.jam. The behavior is what I expect.
But when I replace /O1 to /Ox, the .lib is same as /O2.
/Ox doesn't work correctly!!!
Origin:
I use this command
b2.exe variant=release
but how do I force boost build to use /Ox instead of /O2?
(The default setting for release builds is /O2, but I want /Ox)
P.S., I try
using msvc : 14.0 : : /Ox ;
in my project-config.jam, but it doesn't work.