Bug 562710 - Disable -pedantic for cairo-qt code. r=jmuizelaar
authorOleg Romashin <romaxa@gmail.com>
Sat, 01 May 2010 08:22:42 -0400
changeset 41706 7cc523f32f988a9b8cf9132c6eee38e6e67cc2df
parent 41705 3bc4bf387db946e283ce8854d8df600f7d1265da
child 41707 e794cb1359a10448c7a1db515f93a378d907874d
push id13096
push userromaxa@gmail.com
push dateSun, 02 May 2010 03:34:15 +0000
treeherdermozilla-central@7cc523f32f98 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmuizelaar
bugs562710
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 562710 - Disable -pedantic for cairo-qt code. r=jmuizelaar
gfx/cairo/cairo/src/Makefile.in
--- a/gfx/cairo/cairo/src/Makefile.in
+++ b/gfx/cairo/cairo/src/Makefile.in
@@ -49,16 +49,17 @@ ifndef MOZ_ENABLE_LIBXUL
 VISIBILITY_FLAGS =
 endif
 
 MODULE          = cairo
 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)
 MODULE_OPTIMIZE_FLAGS = -xO5
 endif
 ifeq ($(OS_ARCH),WINNT)
 # FIXME: bug 413019
 OS_COMPILE_CFLAGS += -GL-