File tree Expand file tree Collapse file tree 2 files changed +5
-19
lines changed Expand file tree Collapse file tree 2 files changed +5
-19
lines changed Original file line number Diff line number Diff line change 6666# include "test-libslang.c"
6767#undef main
6868
69- #define main main_test_libbfd
70- # include "test-libbfd.c"
71- #undef main
72-
73- #define main main_test_libbfd_buildid
74- # include "test-libbfd-buildid.c"
75- #undef main
76-
7769#define main main_test_backtrace
7870# include "test-backtrace.c"
7971#undef main
158150# include "test-reallocarray.c"
159151#undef main
160152
161- #define main main_test_disassembler_four_args
162- # include "test-disassembler-four-args.c"
163- #undef main
164-
165- #define main main_test_disassembler_init_styled
166- # include "test-disassembler-init-styled.c"
167- #undef main
168-
169153#define main main_test_libzstd
170154# include "test-libzstd.c"
171155#undef main
@@ -193,8 +177,6 @@ int main(int argc, char *argv[])
193177 main_test_libelf_gelf_getnote ();
194178 main_test_libelf_getshdrstrndx ();
195179 main_test_libslang ();
196- main_test_libbfd ();
197- main_test_libbfd_buildid ();
198180 main_test_backtrace ();
199181 main_test_libnuma ();
200182 main_test_numa_num_possible_cpus ();
@@ -213,7 +195,6 @@ int main(int argc, char *argv[])
213195 main_test_setns ();
214196 main_test_libaio ();
215197 main_test_reallocarray ();
216- main_test_disassembler_four_args ();
217198 main_test_libzstd ();
218199 main_test_libtraceevent ();
219200 main_test_libtracefs ();
Original file line number Diff line number Diff line change @@ -926,6 +926,8 @@ ifneq ($(NO_JEVENTS),1)
926926endif
927927
928928ifdef BUILD_NONDISTRO
929+ $(call feature_check,libbfd)
930+
929931 ifeq ($(feature-libbfd), 1)
930932 EXTLIBS += -lbfd -lopcodes
931933 else
@@ -954,6 +956,9 @@ ifdef BUILD_NONDISTRO
954956
955957 CFLAGS += -DHAVE_LIBBFD_SUPPORT
956958 CXXFLAGS += -DHAVE_LIBBFD_SUPPORT
959+
960+ $(call feature_check,libbfd-buildid)
961+
957962 ifeq ($(feature-libbfd-buildid), 1)
958963 CFLAGS += -DHAVE_LIBBFD_BUILDID_SUPPORT
959964 else
You can’t perform that action at this time.
0 commit comments