Bug 1437877 - Updater: Disable -Wformat-truncation until the reported issues are fixed r=glandium
authorSylvestre Ledru <sledru@mozilla.com>
Sat, 10 Mar 2018 17:06:46 +0100
changeset 461300 8f1b2f872f0ea358a0412eb8b8687f08d47f6621
parent 461299 4660a81a0228d6d9b3c6063256cd4348ad1c142b
child 461301 3187e7424f01bffbcb4264483b310ea68685c40f
child 461439 43f6b05c381757502bab10f08dac8ae7fcaf34db
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1437877
milestone61.0a1
first release with
nightly linux32
8f1b2f872f0e / 61.0a1 / 20180313100127 / files
nightly linux64
8f1b2f872f0e / 61.0a1 / 20180313100127 / files
nightly mac
8f1b2f872f0e / 61.0a1 / 20180313100127 / files
nightly win32
8f1b2f872f0e / 61.0a1 / 20180313100127 / files
nightly win64
8f1b2f872f0e / 61.0a1 / 20180313100127 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1437877 - Updater: Disable -Wformat-truncation until the reported issues are fixed r=glandium MozReview-Commit-ID: 92L3jTPrBcP
toolkit/mozapps/update/updater/updater-common.build
--- a/toolkit/mozapps/update/updater/updater-common.build
+++ b/toolkit/mozapps/update/updater/updater-common.build
@@ -112,8 +112,12 @@ DELAYLOAD_DLLS += [
 if CONFIG['CC_TYPE'] in ('msvc', 'clang-cl'):
     WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup']
 elif CONFIG['OS_ARCH'] == 'WINNT':
     WIN32_EXE_LDFLAGS += ['-municode']
 
 if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
     CXXFLAGS += CONFIG['TK_CFLAGS']
     OS_LIBS += CONFIG['TK_LIBS']
+
+if CONFIG['CC_TYPE'] == 'gcc':
+    CXXFLAGS += ['-Wno-format-truncation']
+