linker: Switch to clang
x86_64 gcc exports malloc/free and co functions because they are defined with visibility "default" somewhere in gcc builtins; and vector d-tors for some reason. Switching to clang fixes this problem. Bug: http://b/24785482 Change-Id: I741503b4b446523e7ff3fb16de13ed99991fd0c0
This commit is contained in:
parent
e78392637d
commit
b28ffc7744
|
@ -2,7 +2,9 @@ LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_SRC_FILES:= \
|
LOCAL_CLANG := true
|
||||||
|
|
||||||
|
LOCAL_SRC_FILES := \
|
||||||
debugger.cpp \
|
debugger.cpp \
|
||||||
dlfcn.cpp \
|
dlfcn.cpp \
|
||||||
linker.cpp \
|
linker.cpp \
|
||||||
|
|
Loading…
Reference in New Issue