summaryrefslogtreecommitdiffstats
path: root/libbacktrace
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-05-25 13:19:49 -0700
committerDan Willemsen <dwillemsen@google.com>2016-06-01 13:41:23 -0700
commitee2da03e2666dcb01721b55aa4767e371120f4fb (patch)
treeb628830902bfb84f00c39cb391971e608a640252 /libbacktrace
parent58ea31cc9013b8aab168cb828571ffc44721d9ef (diff)
downloadcore-ee2da03e2666dcb01721b55aa4767e371120f4fb.tar.gz
core-ee2da03e2666dcb01721b55aa4767e371120f4fb.tar.bz2
core-ee2da03e2666dcb01721b55aa4767e371120f4fb.zip
Remove invalid uses of -l and -I
LOCAL_LDLIBS should only be used with -l flags for NDK and some host libraries. Other uses should use LOCAL_SHARED_LIBRARIES. LOCAL_LDFLAGS should not contain -l entries, they should be in LOCAL_LDLIBS instead. LOCAL_CFLAGS should not contain -I entries, those should use LOCAL_C_INCLUDES instead. Change-Id: Ic901aa14651572ac682166becd4f0cd86baecc34
Diffstat (limited to 'libbacktrace')
-rw-r--r--libbacktrace/Android.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbacktrace/Android.mk b/libbacktrace/Android.mk
index 632b1b66b..356ab8bcc 100644
--- a/libbacktrace/Android.mk
+++ b/libbacktrace/Android.mk
@@ -25,7 +25,9 @@ libbacktrace_common_conlyflags := \
libbacktrace_common_cppflags := \
-std=gnu++11 \
- -I external/libunwind/include/tdep \
+
+libbacktrace_common_c_includes := \
+ external/libunwind/include/tdep \
# The latest clang (r230699) does not allow SP/PC to be declared in inline asm lists.
libbacktrace_common_clang_cflags += \