OSDN Git Service

Use existing my_32_64_bit_suffix.
authorYing Wang <wangying@google.com>
Wed, 10 Sep 2014 23:11:41 +0000 (16:11 -0700)
committerYing Wang <wangying@google.com>
Wed, 10 Sep 2014 23:11:41 +0000 (16:11 -0700)
Change-Id: I75d9733870c37a44ce55ae6cbcfb3f67e1387e9d

core/binary.mk

index 17571ed..d339317 100644 (file)
@@ -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 \