Bug 1639815 - Move --disable-icf to python configure. r=froydnj

Differential Revision: https://phabricator.services.mozilla.com/D76290
This commit is contained in:
Mike Hommey 2020-05-21 22:38:47 +00:00
Родитель 03b3bd5a35
Коммит 711ffb4939
3 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -94,11 +94,6 @@ dnl ========================================================
dnl = Identical Code Folding
dnl ========================================================
MOZ_ARG_DISABLE_BOOL(icf,
[ --disable-icf Disable Identical Code Folding],
MOZ_DISABLE_ICF=1,
MOZ_DISABLE_ICF= )
if test "$GNU_CC" -a "$GCC_USE_GNU_LD" -a -z "$MOZ_DISABLE_ICF" -a -z "$DEVELOPER_OPTIONS"; then
AC_CACHE_CHECK([whether the linker supports Identical Code Folding],
LD_SUPPORTS_ICF,

Просмотреть файл

@ -215,7 +215,6 @@ def old_configure_options(*options):
'--enable-debug-js-modules',
'--enable-dump-painting',
'--enable-extensions',
'--enable-icf',
'--enable-install-strip',
'--enable-libproxy',
'--enable-logrefcnt',

Просмотреть файл

@ -645,6 +645,12 @@ set_config('HAVE_DTRACE', True, when=dtrace)
set_define('INCLUDE_MOZILLA_DTRACE', True, when=dtrace)
add_old_configure_assignment('enable_dtrace', 'yes', when=dtrace)
js_option('--disable-icf', help='Disable Identical Code Folding')
add_old_configure_assignment(
'MOZ_DISABLE_ICF', '1', when=depends('--enable-icf')(lambda x: not x))
# Please do not add configure checks from here on.
# Fallthrough to autoconf-based configure