From f0020c615798284cb81792911f98ccdec6606449 Mon Sep 17 00:00:00 2001 From: Tim Murray Date: Wed, 10 Sep 2014 15:11:01 -0700 Subject: [PATCH] Pass -m32 or -m64 to llvm-rs-cc when reflecting C++. bug 17417839 Change-Id: Iea4aede874f751ac732c3e3ae7a11e18613edcf5 --- core/binary.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/binary.mk b/core/binary.mk index 8ab63e46e..17571ed39 100644 --- a/core/binary.mk +++ b/core/binary.mk @@ -409,6 +409,10 @@ endif 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) + + renderscript_includes := \ $(TOPDIR)external/clang/lib/Headers \ $(TOPDIR)frameworks/rs/scriptc \