summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-09-10 16:11:41 -0700
committerYing Wang <wangying@google.com>2014-09-10 16:11:41 -0700
commitacaada12731639e3feba1dd83d7e44765ec8556c (patch)
tree092cccc3b3f44dd4548e49a57f7383d59c74f815
parentfabd3c00b461c921cb745acd62e7b07b4e938241 (diff)
downloadbuild-acaada12731639e3feba1dd83d7e44765ec8556c.zip
build-acaada12731639e3feba1dd83d7e44765ec8556c.tar.gz
build-acaada12731639e3feba1dd83d7e44765ec8556c.tar.bz2
Use existing my_32_64_bit_suffix.
Change-Id: I75d9733870c37a44ce55ae6cbcfb3f67e1387e9d
-rw-r--r--core/binary.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/binary.mk b/core/binary.mk
index 17571ed..d339317 100644
--- a/core/binary.mk
+++ b/core/binary.mk
@@ -408,10 +408,8 @@ endif
# This can be disabled with LOCAL_RENDERSCRIPT_FLAGS := -Wno-error
renderscript_flags := -Wall -Werror
renderscript_flags += $(LOCAL_RENDERSCRIPT_FLAGS)
-
-
-renderscript_flags += -m$(if $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)IS_64_BIT),64,32)
-
+# -m32 or -m64
+renderscript_flags += -m$(my_32_64_bit_suffix)
renderscript_includes := \
$(TOPDIR)external/clang/lib/Headers \