OSDN Git Service

android: conditionally add LLVM_TARGET(AMDGPU) in device configs
[android-x86/external-llvm.git] / llvm-host-build.mk
index 0b6bc07..d2c7e52 100644 (file)
@@ -58,6 +58,12 @@ endif
 
 LOCAL_IS_HOST_MODULE := true
 
+ifeq ($(HOST_PREFER_32_BIT),true)
+LOCAL_MULTILIB := 32
+else
+LOCAL_MULTILIB := first
+endif
+
 ###########################################################
 ## Commands for running tblgen to compile a td file
 ###########################################################