Bug 786372 - eliminate libtheora -pedantic warning spew; r=derf
authorNathan Froyd <froydnj@mozilla.com>
Tue, 28 Aug 2012 15:25:17 -0400
changeset 103691 089fd92d1553f5b5970c2e388053609a82047d9f
parent 103690 954c8ade179ea3aaffb40c6bc8c552f9b5bf2448
child 103692 ff1f9b1ddc2ac162e2fa266288406c5b1852d468
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)
reviewersderf
bugs786372
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 786372 - eliminate libtheora -pedantic warning spew; r=derf
media/libtheora/lib/Makefile.in
--- a/media/libtheora/lib/Makefile.in
+++ b/media/libtheora/lib/Makefile.in
@@ -3,16 +3,20 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 DEPTH     = @DEPTH@
 topsrcdir = @top_srcdir@
 srcdir    = @srcdir@
 
 include $(DEPTH)/config/autoconf.mk
 
+ifdef GNU_CC
+OS_CFLAGS := $(filter-out -pedantic,$(OS_CFLAGS))
+endif
+
 MODULE           = theora
 LIBRARY_NAME     = theora
 FORCE_STATIC_LIB = 1
 ifeq (WINNT,$(OS_TARGET))
 VISIBILITY_FLAGS =
 endif
 
 # The encoder is currently not included.