diff --git a/gfx/cairo/cairo/src/Makefile.in b/gfx/cairo/cairo/src/Makefile.in index aa88726dbef..72ac283a258 100644 --- a/gfx/cairo/cairo/src/Makefile.in +++ b/gfx/cairo/cairo/src/Makefile.in @@ -54,6 +54,7 @@ LIBRARY_NAME = mozcairo LIBXUL_LIBRARY = 1 ifdef GNU_CC +OS_CXXFLAGS := $(filter-out -pedantic,$(OS_CXXFLAGS)) MODULE_OPTIMIZE_FLAGS = -O2 else ifeq ($(OS_ARCH),SunOS)