aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorShih-wei Liao <sliao@google.com>2012-08-03 06:21:18 -0700
committerShih-wei Liao <sliao@google.com>2012-08-03 06:21:18 -0700
commitc1f268626608d7cc8265623897a513afae82316b (patch)
treee353631a4cb5b58e21c9912a2796ce7771c03662 /Android.mk
parent81ff1fbd518d76e854dafe1e4df0f6b72f7a39b4 (diff)
downloadexternal_libpng-c1f268626608d7cc8265623897a513afae82316b.zip
external_libpng-c1f268626608d7cc8265623897a513afae82316b.tar.gz
external_libpng-c1f268626608d7cc8265623897a513afae82316b.tar.bz2
Fix build: Should use prebuilt version of clang instead of platform one.
Platform version of llvm needs to be upgraded regularly for platform bug fixes and platform improvement in general. The new version of platform clang doesn't handle gnu_inline attribute 100%. We should use prebuilt toolchain for compiler for libpng. We can turn back on LOCAL_CLANG after it is properly implemented, using prebuilt. Currently, libpng.git is the only project that runs into gnu_inline problem. We have to turn off wrong dependency on the platform clang only here. Change-Id: I22429323e797ed6142e72f91a351ace3fdda3fc8
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 8ce9163..77ed0e2 100644
--- a/Android.mk
+++ b/Android.mk
@@ -59,7 +59,7 @@ include $(BUILD_HOST_STATIC_LIBRARY)
# =====================================================
include $(CLEAR_VARS)
-LOCAL_CLANG := true
+# LOCAL_CLANG := true
LOCAL_SRC_FILES := $(common_SRC_FILES)
LOCAL_CFLAGS += $(common_CFLAGS) -ftrapv
LOCAL_C_INCLUDES += $(common_C_INCLUDES) \