From 28ed02ca28ca4c0fa48a4038d7ce45f499ceac44 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 10 Mar 2018 17:06:46 +0100 Subject: [PATCH] Bug 1437877 - Updater: Disable -Wformat-truncation until the reported issues are fixed r=glandium MozReview-Commit-ID: 92L3jTPrBcP --HG-- extra : rebase_source : b1257fd333c18627c200bd57b8b5f2e1da416742 --- toolkit/mozapps/update/updater/updater-common.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toolkit/mozapps/update/updater/updater-common.build b/toolkit/mozapps/update/updater/updater-common.build index 73543e27d8c6..4eb7e9ff114e 100644 --- a/toolkit/mozapps/update/updater/updater-common.build +++ b/toolkit/mozapps/update/updater/updater-common.build @@ -117,3 +117,7 @@ elif CONFIG['OS_ARCH'] == 'WINNT': 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'] +