OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e783926
)
linker: Switch to clang
author
Dmitriy Ivanov
<dimitry@google.com>
Mon, 12 Oct 2015 23:27:32 +0000
(16:27 -0700)
committer
Dmitriy Ivanov
<dimitry@google.com>
Tue, 13 Oct 2015 01:20:26 +0000
(18:20 -0700)
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
linker/Android.mk
patch
|
blob
|
history
diff --git
a/linker/Android.mk
b/linker/Android.mk
index
585a738
..
8be53a1
100644
(file)
--- a/
linker/Android.mk
+++ b/
linker/Android.mk
@@
-2,7
+2,9
@@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
-LOCAL_SRC_FILES:= \
+LOCAL_CLANG := true
+
+LOCAL_SRC_FILES := \
debugger.cpp \
dlfcn.cpp \
linker.cpp \