From d219b672a30830953d6b26399e395f75f23cd33e Mon Sep 17 00:00:00 2001 From: trav90 Date: Sun, 4 Mar 2018 15:07:25 -0600 Subject: Disable strict-aliasing for GCC in js/src/gdb Compiling our tree with strict-aliasing is not supported. --- js/src/gdb/moz.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/src') diff --git a/js/src/gdb/moz.build b/js/src/gdb/moz.build index 07047fb74..681f9807c 100644 --- a/js/src/gdb/moz.build +++ b/js/src/gdb/moz.build @@ -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']: -- cgit v1.2.3