mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
7e282558ea
The file is essentially limited to ARM flag tweaks, so we make the corresponding python configure code ARM-only. In large parts, the python code sets things up similarly, although in a few places we try to be smarter about than the current autoconf-based code. The resulting config.status have been verified to only have insignificant differences on both arm and aarch64 android builds. Depends on D24000 Differential Revision: https://phabricator.services.mozilla.com/D24001 --HG-- extra : moz-landing-system : lando
16 lines
461 B
Plaintext
16 lines
461 B
Plaintext
dnl This Source Code Form is subject to the terms of the Mozilla Public
|
|
dnl License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
dnl file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
AC_DEFUN([MOZ_ARCH_OPTS],
|
|
[
|
|
if test -n "$_ARM_FLAGS"; then
|
|
CFLAGS="$CFLAGS $_ARM_FLAGS"
|
|
CXXFLAGS="$CXXFLAGS $_ARM_FLAGS"
|
|
ASFLAGS="$ASFLAGS $_ARM_FLAGS"
|
|
if test -n "$_THUMB_FLAGS"; then
|
|
LDFLAGS="$LDFLAGS $_THUMB_FLAGS"
|
|
fi
|
|
fi
|
|
])
|