From 153cf0f7fd671d3e5779ad61dde4441c456ca907 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Tue, 29 Mar 2022 14:45:49 +0200 Subject: [PATCH] Allow --disable-elf-hack option even when not used --- toolkit/moz.configure | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/toolkit/moz.configure b/toolkit/moz.configure index 031d68c96..7038667e7 100644 --- a/toolkit/moz.configure +++ b/toolkit/moz.configure @@ -1266,12 +1266,11 @@ with only_when('--enable-compile-environment'): def default_elfhack(release): return bool(release) - with only_when(has_elfhack): - option('--disable-elf-hack', default=default_elfhack, - help='Disable elf hacks') + option('--disable-elf-hack', default=default_elfhack, + help='Disable elf hacks') - set_config('USE_ELF_HACK', - depends_if('--enable-elf-hack')(lambda _: True)) + set_config('USE_ELF_HACK', + depends_if('--enable-elf-hack')(lambda _: True)) @depends(check_build_environment) -- 2.35.1