js-standalone.mozbuild (626B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 # These configure options are needed by standalone SpiderMonkey tools. The full 8 # Gecko build performs equivalents elsewhere in its configuration. 9 10 USE_LIBS += [ 11 "jsrust", 12 "zlib", 13 ] 14 15 if CONFIG["OS_ARCH"] == "WINNT": 16 # Don't build with CETCOMPAT, because JIT triggers a shadow stack violation 17 LINK_FLAGS["CETCOMPAT"] = []