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 /libebl | |
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 'libebl')
-rwxr-xr-x | libebl/Android.mk | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libebl/Android.mk b/libebl/Android.mk index 8bc83cb3..7c334281 100755 --- a/libebl/Android.mk +++ b/libebl/Android.mk @@ -78,9 +78,6 @@ ifeq ($(HOST_OS),linux) # include $(CLEAR_VARS) -# Disable clang like other elfutils libraries. -LOCAL_CLANG := false - LOCAL_SRC_FILES := $(LIBEBL_SRC_FILES) LOCAL_C_INCLUDES := \ @@ -93,8 +90,6 @@ LOCAL_C_INCLUDES := \ LOCAL_CFLAGS += -DHAVE_CONFIG_H -std=gnu99 -D_GNU_SOURCE -LOCAL_CLANG := false - LOCAL_MODULE:= libebl LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) @@ -109,9 +104,6 @@ endif # linux include $(CLEAR_VARS) -# Disable clang like other elfutils libraries. -LOCAL_CLANG := false - LOCAL_SRC_FILES := $(LIBEBL_SRC_FILES) LOCAL_C_INCLUDES := \ |