mirror of
https://abf.rosa.ru/djam/kernel-6.6.git
synced 2025-02-25 11:52:46 +00:00
Expicitly force Python3 in perf
Othersie in rosa2016.1 where python points to python2 python3 is not found.
This commit is contained in:
parent
824e9bc9f6
commit
5c184f0011
1 changed files with 3 additions and 2 deletions
|
@ -362,7 +362,8 @@ BuildRequires: elfutils-devel
|
|||
BuildRequires: libunwind-devel
|
||||
BuildRequires: newt-devel
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: pkgconfig(python)
|
||||
BuildRequires: python3
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: pkgconfig(libcrypto)
|
||||
|
@ -1624,7 +1625,7 @@ cat ../kernel_exclude_debug_files.%{flavour} >> $kernel_files
|
|||
LC_ALL=C sed -ri "s/^EXTRAVERSION.*/EXTRAVERSION = -%{fullrpmrel}/" Makefile
|
||||
|
||||
%if %{build_perf}
|
||||
%smake -C tools/perf -s HAVE_CPLUS_DEMANGLE=1 WERROR=0 prefix=%{_prefix} lib=%{_lib} NO_GTK2=1 all
|
||||
%smake -C tools/perf -s PYTHON=%{__python3} HAVE_CPLUS_DEMANGLE=1 WERROR=0 prefix=%{_prefix} lib=%{_lib} NO_GTK2=1 all
|
||||
%smake -C tools/perf -s prefix=%{_prefix} lib=%{_lib} NO_GTK2=1 man
|
||||
%endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue