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'] +