summaryrefslogtreecommitdiff
path: root/mcld-device-build.mk
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-04-01 17:01:52 -0700
committerTim Murray <timmurray@google.com>2014-04-01 17:01:52 -0700
commit1eedfe80a30cf1cbb77b8b75be35d8be638a5ce7 (patch)
tree701b71df9e165f4125e55ca059cbf15e4bea5646 /mcld-device-build.mk
parent7ad2993a7bebbca07fae0a594e2681e9be226524 (diff)
downloadmclinker-1eedfe80a30cf1cbb77b8b75be35d8be638a5ce7.tar.gz
Fix MCLinker builds with clang.
bug 13588226 Change-Id: I4030f3f218e2b25c30d9bf3d6c382a86b2d5feb1
Diffstat (limited to 'mcld-device-build.mk')
-rw-r--r--mcld-device-build.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcld-device-build.mk b/mcld-device-build.mk
index 744edcf..42d6d56 100644
--- a/mcld-device-build.mk
+++ b/mcld-device-build.mk
@@ -5,9 +5,7 @@ include $(LLVM_DEVICE_BUILD_MK)
# to here.
LOCAL_CFLAGS := \
-DANDROID_TARGET_BUILD \
- -finline-limit=64 \
-finline-functions \
- -fno-inline-functions-called-once \
-include $(MCLD_ROOT_PATH)/include/mcld/Config/Config.h \
$(LOCAL_CFLAGS)
@@ -15,6 +13,8 @@ LOCAL_CPPFLAGS := \
$(LOCAL_CPPFLAGS) \
-Wall \
-Wno-unused-parameter \
+ -Wno-unused-private-field \
+ -Wno-unused-const-variable \
-Werror
ifeq ($(MCLD_ENABLE_ASSERTION),true)