build/unix/elfhack/inject/moz.build
author Mike Hommey <mh+mozilla@glandium.org>
Fri, 22 May 2015 10:44:05 +0900
changeset 277995 0ecd4281ab79b5e9c32d366fe1b2476a238a6b40
parent 275799 59e335c30dfd53671cf2aad4dca095910ebc7864
child 278277 bd8f1e56cdaf9888d001a3cfba706e4d1b794a66
permissions -rw-r--r--
Bug 1167474 - Remove ELFHACK_BUILD hack. r=mshal It used to be necessary because of how elfhack was built in the past, but it happens to be unnecessary nowadays.

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

DIST_INSTALL = False

if CONFIG['TARGET_CPU'].endswith('86'):
    cpu = 'x86'
elif CONFIG['TARGET_CPU'].startswith('arm'):
    cpu = 'arm'
else:
    cpu = CONFIG['TARGET_CPU']

GENERATED_SOURCES += [
    "%s.c" % cpu,
]

NO_PGO = True

NO_VISIBILITY_FLAGS = True