aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r--tools/perf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index efd3e801f3a..653627dcf99 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -503,6 +503,8 @@ ifneq ($(call try-cc,$(SOURCE_LIBELF),$(FLAGS_LIBELF)),y)
# That works too, but needs a bit of special treatment
ANDROID_CFLAGS := -DANDROID -DHAVE_STRLCPY -include $(CURDIR)/compat-android.h
BASIC_CFLAGS += $(ANDROID_CFLAGS)
+ # Make libtraceevent to see Bionic -isystem flags passed to us
+ ANDROID_CFLAGS += $(EXTRA_CFLAGS)
ANDROID := 1
else
msg := $(error No gnu/libc-version.h found, please install glibc-dev[el]/glibc-static);