Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 # You can obtain one at http://mozilla.org/MPL/2.0/.
5 HOST_LIBS = -lz
7 include $(topsrcdir)/config/rules.mk
9 ifeq (arm,$(TARGET_CPU))
10 ifdef MOZ_THUMB2
11 HOST_CXXFLAGS += -DTARGET_THUMB
12 else
13 HOST_CXXFLAGS += -DTARGET_ARM
14 endif
15 endif
16 ifeq (x86,$(CPU_ARCH))
17 HOST_CXXFLAGS += -DTARGET_X86
18 endif