зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1711846 - Followup: also disable stringop-overflow warnings in nrappkit code.
Differential Revision: https://phabricator.services.mozilla.com/D115565
This commit is contained in:
Родитель
bcc513d58c
Коммит
92740a219c
|
@ -33,6 +33,7 @@ GYP_DIRS['nrappkit'].sandbox_vars['FINAL_LIBRARY'] = 'xul'
|
|||
|
||||
if CONFIG["CC_TYPE"] == "gcc":
|
||||
GYP_DIRS['nICEr'].sandbox_vars['CFLAGS'] = ['-Wno-stringop-overflow']
|
||||
GYP_DIRS['nrappkit'].sandbox_vars['CFLAGS'] = ['-Wno-stringop-overflow']
|
||||
if int(CONFIG["CC_VERSION"].split(".")[0]) >= 8:
|
||||
GYP_DIRS['nICEr'].sandbox_vars['CFLAGS'] += ['-Wno-stringop-truncation']
|
||||
GYP_DIRS['nrappkit'].sandbox_vars['CFLAGS'] = ['-Wno-stringop-truncation']
|
||||
GYP_DIRS['nrappkit'].sandbox_vars['CFLAGS'] += ['-Wno-stringop-truncation']
|
||||
|
|
Загрузка…
Ссылка в новой задаче