Bug 995654 - Suppress gcc -Wuninitialized warning in third-party code: libvorbis. r=derf
authorChris Peterson <cpeterson@mozilla.com>
Tue, 15 Apr 2014 08:34:24 -0700
changeset 197248 b56027688b728ab6144751dca59fc3ae87e31d00
parent 197247 a2c2c5ed7e9b227dfc3577ec0973b3ba824ac45d
child 197249 547ffcbeb07a694162f6c7850887cf301c196175
push id3624
push userasasaki@mozilla.com
push dateMon, 09 Jun 2014 21:49:01 +0000
treeherdermozilla-beta@b1a5da15899a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersderf
bugs995654
milestone31.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 995654 - Suppress gcc -Wuninitialized warning in third-party code: libvorbis. r=derf
media/libvorbis/moz.build
--- a/media/libvorbis/moz.build
+++ b/media/libvorbis/moz.build
@@ -46,8 +46,12 @@ if CONFIG['OS_ARCH'] == 'SunOS':
     DEFINES['HAVE_ALLOCA_H'] = True
 
 MSVC_ENABLE_PGO = True
 
 if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
     NO_VISIBILITY_FLAGS = True
 
 FINAL_LIBRARY = 'gkmedias'
+
+# Suppress warnings in third-party code.
+if CONFIG['GNU_CC']:
+    CFLAGS += ['-Wno-uninitialized']