diff --git a/dom/bindings/Makefile.in b/dom/bindings/Makefile.in index 0bab8b4d9e6..7b4722edced 100644 --- a/dom/bindings/Makefile.in +++ b/dom/bindings/Makefile.in @@ -117,6 +117,10 @@ EXPORTS_GENERATED_DEST := $(DIST)/include/$(binding_include_path) EXPORTS_GENERATED_TARGET := webidl-export INSTALL_TARGETS += EXPORTS_GENERATED +ifdef GNU_CC +CXXFLAGS += -Wno-uninitialized +endif + include $(topsrcdir)/config/rules.mk # We need to create a separate target so we can ensure that the pickle is diff --git a/dom/bindings/test/Makefile.in b/dom/bindings/test/Makefile.in index 68d102eec46..bdb8a236bbe 100644 --- a/dom/bindings/test/Makefile.in +++ b/dom/bindings/test/Makefile.in @@ -73,6 +73,10 @@ MOCHITEST_CHROME_FILES = \ test_bug775543.html \ $(NULL) +ifdef GNU_CC +CXXFLAGS += -Wno-uninitialized +endif + # Include rules.mk before any of our targets so our first target is coming from # rules.mk and running make with no target in this dir does the right thing. include $(topsrcdir)/config/rules.mk