diff options
author | Chih-Hung Hsieh <chh@google.com> | 2015-11-16 14:07:12 -0800 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2015-11-16 14:07:12 -0800 |
commit | 3bf00138a5330139ddfd4cca1266724bb14cec73 (patch) | |
tree | ffad6cb8ef44dea82cef7d320d6de1600ba64763 /libelf | |
parent | 749afed2049af2da163143f16cb2aab3fc8e7744 (diff) | |
download | android_external_elfutils-3bf00138a5330139ddfd4cca1266724bb14cec73.tar.gz android_external_elfutils-3bf00138a5330139ddfd4cca1266724bb14cec73.tar.bz2 android_external_elfutils-3bf00138a5330139ddfd4cca1266724bb14cec73.zip |
Enable clang compiler for some modules.
* libdwelf, libebl, libelf can compile cleanly with clang now.
* libdw and libdwfl still have some nested functions only compiled by gcc.
Change-Id: Id43585c6d11f521ef0ccebe9cae4db9de436cdc0
Diffstat (limited to 'libelf')
-rwxr-xr-x | libelf/Android.mk | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libelf/Android.mk b/libelf/Android.mk index a393104b..9fc71ace 100755 --- a/libelf/Android.mk +++ b/libelf/Android.mk @@ -135,9 +135,6 @@ ifeq ($(HOST_OS),linux) include $(CLEAR_VARS) -# Clang has no nested functions. -LOCAL_CLANG := false - LOCAL_SRC_FILES := $(LIBELF_SRC_FILES) LOCAL_C_INCLUDES := \ @@ -163,9 +160,6 @@ endif # linux include $(CLEAR_VARS) -# Clang has no nested functions. -LOCAL_CLANG := false - LOCAL_SRC_FILES := $(LIBELF_SRC_FILES) LOCAL_C_INCLUDES := \ |