Disable strict-aliasing for GCC in js/src/gdb

Compiling our tree with strict-aliasing is not supported.
This commit is contained in:
trav90 2018-03-04 15:07:25 -06:00 committed by Roy Tam
commit bea8786496

View file

@ -42,7 +42,7 @@ if CONFIG['ENABLE_INTL_API'] and CONFIG['MOZ_ICU_DATA_ARCHIVE']:
OS_LIBS += CONFIG['MOZ_ZLIB_LIBS']
if CONFIG['GNU_CXX']:
CXXFLAGS += ['-Wno-shadow']
CXXFLAGS += ['-Wno-shadow', '-fno-strict-aliasing']
# This is intended as a temporary workaround to enable VS2015.
if CONFIG['_MSC_VER']: