build/mozconfig.vs-common
author Gregory Szorc <gps@mozilla.com>
Wed, 23 Sep 2015 22:02:16 -0400
changeset 295864 76aafface4fe5daea51027360b503667021283d3
parent 203291 fe99aeb6ae653c3ac35a9c923e039e03e1c16014
permissions -rw-r--r--
Bug 1175857 - Build host tools with compiler optimizations; r?glandium dump_syms is significantly faster when compiled with optimizations. Other tools might be as well. Default to building host tools with compiler optimization.

# Pymake needs Windows-style paths. Use cmd.exe to hack around this.
mk_export_correct_style() {
  mk_add_options "export $1=$(cmd.exe //c echo %$1%)"
}

# Build host binaries with optimizations. This is mostly useful for speeding
# up dump_syms, which is used for symbol generation.
export HOST_CXXFLAGS="/O2"
export HOST_CFLAGS="/O2"