BR libelf

on x86_64:

```
DEBUG: + /usr/bin/make -O -j32 V=1 VERBOSE=1 CC=gcc ARCH=x86 V=1 -s all
DEBUG: <stdin>:1:10: fatal error: libelf.h: No such file or directory
DEBUG: compilation terminated.
DEBUG: In file included from /builddir/build/BUILD/kernel-x86_64/linux-6.1-rc4/tools/objtool/include/objtool/objtool.h:13,
DEBUG:                  from /builddir/build/BUILD/kernel-x86_64/linux-6.1-rc4/tools/objtool/include/objtool/arch.h:11,
DEBUG:                  from /builddir/build/BUILD/kernel-x86_64/linux-6.1-rc4/tools/objtool/include/objtool/check.h:11,
DEBUG:                  from /builddir/build/BUILD/kernel-x86_64/linux-6.1-rc4/tools/objtool/include/objtool/special.h:10,
DEBUG:                  from arch/x86/special.c:4:
DEBUG: /builddir/build/BUILD/kernel-x86_64/linux-6.1-rc4/tools/objtool/include/objtool/elf.h:10:10: fatal error: gelf.h: No such file or directory
DEBUG:    10 | #include <gelf.h>
DEBUG:       |          ^~~~~~~~
```
This commit is contained in:
Mikhail Novosyolov 2022-11-07 17:52:17 +03:00
parent 2b6c0b74bd
commit 3b4369ef35

View file

@ -374,6 +374,7 @@ BuildRequires: zstd
BuildRequires: uboot-tools
%endif
BuildRequires: kmod-devel
BuildRequires: pkgconfig(libelf)
%ifarch x86_64 aarch64
BuildRequires: numa-devel
%endif