aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dicttool/NativeLib.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-06-09 12:16:30 -0700
committerYing Wang <wangying@google.com>2014-06-09 12:16:30 -0700
commitfb57fe263cb54f0132fa5299c60aca99c240d821 (patch)
tree16f6359ac554bcb5aaec68b490baca19d5591ec2 /tools/dicttool/NativeLib.mk
parent2debf168920bb852b1583446fc336743f98b3c04 (diff)
downloadlatinime-fb57fe263cb54f0132fa5299c60aca99c240d821.tar.gz
latinime-fb57fe263cb54f0132fa5299c60aca99c240d821.tar.xz
latinime-fb57fe263cb54f0132fa5299c60aca99c240d821.zip
Use LOCAL_MULTILIB to build host lib as 64-bit
Also we should use LOCAL_REQUIRED_MODULES instead of LOCAL_ADDITIONAL_DEPENDENCIES. Bug: 13751317 Change-Id: I742ff14b3de168e14e646749cf4f6bc9c9e7bc62
Diffstat (limited to 'tools/dicttool/NativeLib.mk')
-rw-r--r--tools/dicttool/NativeLib.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/dicttool/NativeLib.mk b/tools/dicttool/NativeLib.mk
index a3d3c0295..812e76ced 100644
--- a/tools/dicttool/NativeLib.mk
+++ b/tools/dicttool/NativeLib.mk
@@ -21,8 +21,7 @@ include $(CLEAR_VARS)
LATINIME_DIR_RELATIVE_TO_DICTTOOL := ../..
ifneq ($(strip $(HOST_JDK_IS_64BIT_VERSION)),)
-LOCAL_CFLAGS += -m64
-LOCAL_LDFLAGS += -m64
+LOCAL_MULTILIB := 64
endif #HOST_JDK_IS_64BIT_VERSION
LOCAL_CFLAGS += -DHOST_TOOL -fPIC