From d3d47415842ef975b1696906f63feaff26a56050 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Thu, 15 Jan 2015 16:19:02 -0800 Subject: [PATCH] Enable clang for init, after fix of global .mk files. LOCAL_FORCE_STATIC_EXECUTABLE was not working properly for clang because -Bstatic was ignored by clang. We can now enable clang for init after the -static flag is added to link static executable files in build/core/definitions.mk. BUG: 18008984 Change-Id: I3f361b83c1e0b313914603dff33fd090cd3b116a --- init/Android.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/init/Android.mk b/init/Android.mk index 8cda87926..4df448922 100644 --- a/init/Android.mk +++ b/init/Android.mk @@ -33,10 +33,6 @@ endif LOCAL_MODULE:= init -# Currently, init doesn't start when built with clang. -# Needs further investigation. -LOCAL_CLANG := false - LOCAL_FORCE_STATIC_EXECUTABLE := true LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT) LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_UNSTRIPPED)