diff options
Diffstat (limited to 'tools/perf/config/Makefile')
-rw-r--r-- | tools/perf/config/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index a2e0e1b200c3..68654281b973 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile | |||
@@ -108,6 +108,7 @@ FEATURE_TESTS = \ | |||
108 | volatile-register-var \ | 108 | volatile-register-var \ |
109 | fortify-source \ | 109 | fortify-source \ |
110 | bionic \ | 110 | bionic \ |
111 | libelf \ | ||
111 | libnuma | 112 | libnuma |
112 | 113 | ||
113 | $(foreach test,$(FEATURE_TESTS),$(call feature_check,$(test),$(test))) | 114 | $(foreach test,$(FEATURE_TESTS),$(call feature_check,$(test),$(test))) |
@@ -164,8 +165,7 @@ ifdef NO_LIBELF | |||
164 | NO_DEMANGLE := 1 | 165 | NO_DEMANGLE := 1 |
165 | NO_LIBUNWIND := 1 | 166 | NO_LIBUNWIND := 1 |
166 | else | 167 | else |
167 | FLAGS_LIBELF=$(CFLAGS) $(LDFLAGS) $(EXTLIBS) | 168 | ifeq ($(feature-libelf), 0) |
168 | ifneq ($(call try-cc,$(SOURCE_LIBELF),$(FLAGS_LIBELF),libelf),y) | ||
169 | FLAGS_GLIBC=$(CFLAGS) $(LDFLAGS) | 169 | FLAGS_GLIBC=$(CFLAGS) $(LDFLAGS) |
170 | ifeq ($(call try-cc,$(SOURCE_GLIBC),$(FLAGS_GLIBC),glibc),y) | 170 | ifeq ($(call try-cc,$(SOURCE_GLIBC),$(FLAGS_GLIBC),glibc),y) |
171 | LIBC_SUPPORT := 1 | 171 | LIBC_SUPPORT := 1 |