1 dnl This Source Code Form is subject to the terms of the Mozilla Public
2 dnl License, v. 2.0. If a copy of the MPL was not distributed with this
3 dnl file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 AC_DEFUN([MOZ_ARCH_OPTS],
7 if test -n "$_ARM_FLAGS"; then
8 CFLAGS="$CFLAGS $_ARM_FLAGS"
9 CXXFLAGS="$CXXFLAGS $_ARM_FLAGS"
10 ASFLAGS="$ASFLAGS $_ARM_FLAGS"
11 if test -n "$_THUMB_FLAGS"; then
12 LDFLAGS="$LDFLAGS $_THUMB_FLAGS"