Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3d47415 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

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
parent 045be135
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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)