Release builds do use optimization. Debug builds don't. This is common for C++ projects.
On Sat, Nov 19, 2016 at 10:19 AM, <[email protected]> wrote: > When I tried to build V8 from source with ninja (which uses Visual Studio > 2015), I found out that in the log produced by ninja -n, the build does not > try to take advantage of /O2 or any other optimization flags. Why the > original developers choose not to use optimization flags? (And this > includes gcc as well!) > > https://chromium.googlesource.com/chromium/src/+/master/ > tools/gn/bootstrap/build_vs.ninja.template > > -- > -- > v8-dev mailing list > [email protected] > http://groups.google.com/group/v8-dev > --- > You received this message because you are subscribed to the Google Groups > "v8-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
