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 407883 8f1b2f872f0ea358a0412eb8b8687f08d47f6621
parent 407882 4660a81a0228d6d9b3c6063256cd4348ad1c142b
child 407884 43f6b05c381757502bab10f08dac8ae7fcaf34db
child 407915 3187e7424f01bffbcb4264483b310ea68685c40f
push id100792
push usernbeleuzu@mozilla.com
push dateTue, 13 Mar 2018 10:37:01 +0000
treeherdermozilla-inbound@43f6b05c3817 [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']
+