Bug 786413 - fix -pedantic removal in gfx/qcms; r=BenWa
authorNathan Froyd <froydnj@mozilla.com>
Tue, 28 Aug 2012 15:22:09 -0400
changeset 103690 954c8ade179ea3aaffb40c6bc8c552f9b5bf2448
parent 103689 152d19d479b20dd06bd68866ecdf6a6508f6ea58
child 103691 089fd92d1553f5b5970c2e388053609a82047d9f
push id14117
push usernfroyd@mozilla.com
push dateTue, 28 Aug 2012 19:33:01 +0000
treeherdermozilla-inbound@089fd92d1553 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersBenWa
bugs786413
milestone18.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 786413 - fix -pedantic removal in gfx/qcms; r=BenWa
gfx/qcms/Makefile.in
--- a/gfx/qcms/Makefile.in
+++ b/gfx/qcms/Makefile.in
@@ -51,17 +51,19 @@ else
 	SSE2_FLAGS=
 endif
 endif
 endif
 endif
 
 # -pedantic causes warnings that we don't care about
 # so turn it off
-CFLAGS := $(filter-out -pedantic,$(CFLAGS))
+ifdef GNU_CC
+OS_CFLAGS := $(filter-out -pedantic,$(OS_CFLAGS))
+endif
 
 FORCE_STATIC_LIB = 1
 
 include $(topsrcdir)/config/rules.mk
 
 CFLAGS          += -DMOZ_QCMS
 
 # Disable spammy "missing initializer" GCC warning