summaryrefslogtreecommitdiff
path: root/js/src/gdb
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-11-04 16:24:38 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-11-04 16:24:38 -0500
commitd2b6975eb7593a9aece06e880fdd2a18e7005e41 (patch)
tree67e202d65e8d213195a74d57aab950485d18ed46 /js/src/gdb
parentfd1b2dc2b14ded708f8eb62a55109c03356c6b26 (diff)
downloaduxp-d2b6975eb7593a9aece06e880fdd2a18e7005e41.tar.gz
Issue #1676 - Part 21: Use js-cxxflags.mozbuild in testing code and js shell
Diffstat (limited to 'js/src/gdb')
-rw-r--r--js/src/gdb/moz.build9
1 files changed, 2 insertions, 7 deletions
diff --git a/js/src/gdb/moz.build b/js/src/gdb/moz.build
index a2e9356242..01f6cb0b64 100644
--- a/js/src/gdb/moz.build
+++ b/js/src/gdb/moz.build
@@ -5,6 +5,8 @@
GeckoProgram('gdb-tests', linkage=None)
+include('../js-cxxflags.mozbuild')
+
UNIFIED_SOURCES += [
'gdb-tests.cpp',
'tests/test-asmjs.cpp',
@@ -40,13 +42,6 @@ if CONFIG['MOZ_ICU_DATA_ARCHIVE']:
OS_LIBS += CONFIG['MOZ_ZLIB_LIBS']
-if CONFIG['GNU_CXX']:
- CXXFLAGS += ['-Wno-shadow', '-fno-strict-aliasing']
-
-# This is intended as a temporary workaround to enable VS2015.
-if CONFIG['_MSC_VER']:
- CXXFLAGS += ['-wd4312']
-
DEFINES['topsrcdir'] = '%s/js/src' % TOPSRCDIR
FINAL_TARGET_PP_FILES += ['gdb-tests-gdb.py.in']
OBJDIR_FILES.js.src.gdb += ['!/dist/bin/gdb-tests-gdb.py']