mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 19:47:32 +09:00
Issue #1676 - Part 21: Use js-cxxflags.mozbuild in testing code and js shell
This commit is contained in:
parent
b38a250130
commit
5f32ee0c71
3 changed files with 6 additions and 21 deletions
|
|
@ -3,6 +3,8 @@
|
|||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
include('../js-cxxflags.mozbuild')
|
||||
|
||||
if CONFIG['JS_SHELL_NAME']:
|
||||
GeckoProgram(CONFIG['JS_SHELL_NAME'], linkage=None)
|
||||
if CONFIG['JS_BUNDLED_EDITLINE']:
|
||||
|
|
@ -49,13 +51,6 @@ shellmoduleloader.inputs = [
|
|||
'ModuleLoader.js',
|
||||
]
|
||||
|
||||
if CONFIG['GNU_CXX']:
|
||||
CXXFLAGS += ['-Wno-shadow', '-Werror=format']
|
||||
|
||||
# This is intended as a temporary workaround to enable VS2015.
|
||||
if CONFIG['_MSC_VER']:
|
||||
CXXFLAGS += ['-wd4312']
|
||||
|
||||
# Place a GDB Python auto-load file next to the shell executable, both in
|
||||
# the build directory and in the dist/bin directory.
|
||||
DEFINES['topsrcdir'] = '%s/js/src' % TOPSRCDIR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue