Bug 689178 - Remove remainder of elfhack workaround from bug 822584. r=froydnj

This is a rebase of a 7-year-old patch that was r=ted. The main part of
the patch was actually already removed in bug 1389598.

Differential Revision: https://phabricator.services.mozilla.com/D81027
This commit is contained in:
Mike Hommey 2020-06-25 12:50:37 +00:00
parent 6b2fc90663
commit 346efbb8bc
2 changed files with 1 additions and 3 deletions

View File

@ -119,8 +119,6 @@ def elfhack(path):
'''
from buildconfig import topobjdir
cmd = [os.path.join(topobjdir, 'build/unix/elfhack/elfhack'), path]
if 'ELF_HACK_FLAGS' in os.environ:
cmd[1:0] = os.environ['ELF_HACK_FLAGS'].split()
if subprocess.call(cmd) != 0:
errors.fatal('Error executing ' + ' '.join(cmd))

View File

@ -19,7 +19,7 @@ RUN_FIND_DUPES ?= $(MOZ_AUTOMATION)
RUN_MOZHARNESS_ZIP ?= $(MOZ_AUTOMATION)
endif
export USE_ELF_HACK ELF_HACK_FLAGS
export USE_ELF_HACK
stage-package: multilocale.txt locale-manifest.in $(MOZ_PKG_MANIFEST) $(MOZ_PKG_MANIFEST_DEPS)
NO_PKG_FILES="$(NO_PKG_FILES)" \