diff options
author | Chih-Hung Hsieh <chh@google.com> | 2015-01-09 23:35:13 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-01-09 23:35:13 +0000 |
commit | b77ddf87eb15fd60cca3dd28ae44289bdb251a35 (patch) | |
tree | a4ad9a62d5975dd31e0ac0fb5c7f7c84f3c065f2 | |
parent | c6cdd000093508ad0ef70b1dddf84fa6683d3716 (diff) | |
parent | c8fcdaa0d0d4b4c93660fea15bee06e4893796ad (diff) | |
download | linux-tools-perf-b77ddf87eb15fd60cca3dd28ae44289bdb251a35.tar.gz |
am c8fcdaa0: Merge "Disable clang only for the arm target."
* commit 'c8fcdaa0d0d4b4c93660fea15bee06e4893796ad':
Disable clang only for the arm target.
-rw-r--r-- | perf-3.12.0/tools/perf/Android.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/perf-3.12.0/tools/perf/Android.mk b/perf-3.12.0/tools/perf/Android.mk index 400e548..30f8414 100644 --- a/perf-3.12.0/tools/perf/Android.mk +++ b/perf-3.12.0/tools/perf/Android.mk @@ -134,6 +134,9 @@ common_elfutil_headers := \ common_clang_compiler_flags := \ -Wno-int-conversion \ + -Wno-tautological-pointer-compare \ + -Wno-tautological-constant-out-of-range-compare \ + -Wno-pointer-bool-conversion \ common_compiler_flags := \ -include external/linux-tools-perf/android-fixes.h \ @@ -179,9 +182,11 @@ host_predefined_macros := \ -DHAVE_ON_EXIT \ include $(CLEAR_VARS) -# builtin-report.c and builtin-top.c have undefined __aeabi_read_tp +ifeq ($(TARGET_ARCH),arm) +# b/17167262, builtin-report.c and builtin-top.c have undefined __aeabi_read_tp # when compiled with clang -fpie. LOCAL_CLANG := false +endif LOCAL_SRC_FILES := $(libperf_src_files) @@ -275,9 +280,11 @@ perf_src_files_x86 = \ tests/perf-time-to-tsc.c \ include $(CLEAR_VARS) -# builtin-report.c and builtin-top.c have undefined __aeabi_read_tp +ifeq ($(TARGET_ARCH),arm) +# b/17167262, builtin-report.c and builtin-top.c have undefined __aeabi_read_tp # when compiled with clang -fpie. LOCAL_CLANG := false +endif LOCAL_SRC_FILES := $(perf_src_files) LOCAL_SRC_FILES_x86 := $(perf_src_files_x86) |