diff options
author | Tao Bao <tbao@google.com> | 2015-06-03 10:49:29 -0700 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-07 19:02:26 -0800 |
commit | 0997ce973c09513e79a5b3e597cddf4e0ad77b62 (patch) | |
tree | 7385cfc99060b8cdde1e1093d548f2b1e2519baf /applypatch | |
parent | f43603fbd68ffbbff81bc8653aa547a8acc7cc46 (diff) | |
download | bootable_recovery-0997ce973c09513e79a5b3e597cddf4e0ad77b62.zip bootable_recovery-0997ce973c09513e79a5b3e597cddf4e0ad77b62.tar.gz bootable_recovery-0997ce973c09513e79a5b3e597cddf4e0ad77b62.tar.bz2 |
recovery: Switch to clang
And a few trival fixes to suppress warnings.
Change-Id: I38734b5f4434643e85feab25f4807b46a45d8d65
Diffstat (limited to 'applypatch')
-rw-r--r-- | applypatch/Android.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/applypatch/Android.mk b/applypatch/Android.mk index 861edd2..eb3e458 100644 --- a/applypatch/Android.mk +++ b/applypatch/Android.mk @@ -13,8 +13,10 @@ # limitations under the License. LOCAL_PATH := $(call my-dir) + include $(CLEAR_VARS) +LOCAL_CLANG := true LOCAL_SRC_FILES := applypatch.c bspatch.c freecache.c imgpatch.c utils.c LOCAL_MODULE := libapplypatch LOCAL_MODULE_TAGS := eng @@ -25,6 +27,7 @@ include $(BUILD_STATIC_LIBRARY) include $(CLEAR_VARS) +LOCAL_CLANG := true LOCAL_SRC_FILES := main.c LOCAL_MODULE := applypatch LOCAL_C_INCLUDES += bootable/recovery @@ -35,6 +38,7 @@ include $(BUILD_EXECUTABLE) include $(CLEAR_VARS) +LOCAL_CLANG := true LOCAL_SRC_FILES := main.c LOCAL_MODULE := applypatch_static LOCAL_FORCE_STATIC_EXECUTABLE := true @@ -47,6 +51,7 @@ include $(BUILD_EXECUTABLE) include $(CLEAR_VARS) +LOCAL_CLANG := true LOCAL_SRC_FILES := imgdiff.c utils.c bsdiff.c LOCAL_MODULE := imgdiff LOCAL_FORCE_STATIC_EXECUTABLE := true |