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
This commit is contained in:
Chih-Hung Hsieh 2015-01-15 16:19:02 -08:00
parent 045be135de
commit d3d4741584

View file

@ -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)